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.per_build" 7 ATTRIBUTES = "suite:jailed_build" 8 PURPOSE = "Check of the system state after S3" 9 CRITERIA = "Check that the system is in the expected state after S3 Resume." 10 TIME = "SHORT" 11 TEST_CATEGORY = "Functional" 12 TEST_CLASS = "Hardware" 13 TEST_TYPE = "Client" 14 15 DOC = """ 16 A check of the state of the system after S3 Resume 17 """ 18 19 # Comma-separated list of test names to run before and after the suspend. 20 tests = ['audio_Aplay', 'hardware_TPMCheck'] 21 22 23 dict_args = utils.args_to_dict(args) 24 iterations = int(dict_args.get('iterations', 1)) 25 26 27 job.run_test('power_CheckAfterSuspend', tests=tests, iterations=iterations) 28