• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "The Chromium OS Authors"
6NAME = "power_CheckAfterSuspend.TPMCheckStress"
7ATTRIBUTES = "suite:kernel_weekly_regression"
8PURPOSE = "Check of the TPM state after S3"
9CRITERIA = "Check that the TPM is in the expected state after many S3 Resumes."
10TIME = "LONG"
11TEST_CATEGORY = "Stress,Reliability"
12TEST_CLASS = "Hardware"
13TEST_TYPE = "Client"
14
15DOC = """
16    A check of the state of the TPM (Trusted Platform Module) after S3 Resume
17"""
18
19# Comma-separated list of test names to run before and after the suspend.
20tests = ['hardware_TPMCheck']
21
22
23dict_args = utils.args_to_dict(args)
24iterations = int(dict_args.get('iterations', 100))
25
26
27job.run_test('power_CheckAfterSuspend', tests=tests, iterations=iterations,
28             disable_sysinfo=True)
29