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 5 AUTHOR = "The Chromium OS Authors" 6 NAME = "power_CheckAfterSuspend.TPMCheckStress" 7 ATTRIBUTES = "suite:kernel_weekly_regression" 8 SUITE = "kernel_weekly_regression" 9 PURPOSE = "Check of the TPM state after S3" 10 CRITERIA = "Check that the TPM is in the expected state after many S3 Resumes." 11 TIME = "LONG" 12 TEST_CATEGORY = "Stress,Reliability" 13 TEST_CLASS = "Hardware" 14 TEST_TYPE = "Client" 15 16 DOC = """ 17 A check of the state of the TPM (Trusted Platform Module) after S3 Resume 18 """ 19 20 # Comma-separated list of test names to run before and after the suspend. 21 tests = ['hardware_TPMCheck'] 22 23 24 dict_args = utils.args_to_dict(args) 25 iterations = int(dict_args.get('iterations', 100)) 26 27 28 job.run_test('power_CheckAfterSuspend', tests=tests, iterations=iterations, 29 disable_sysinfo=True) 30