# Copyright 2016 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from autotest_lib.server import utils AUTHOR = "Intel" NAME = "platform_S0ixCycle" PURPOSE = "Servo based S0ix state transition test." DEPENDENCIES = "servo_state:WORKING" TIME = "LONG" TEST_CATEGORY = "Stress" TEST_CLASS = "platform" TEST_TYPE = "server" JOB_RETRIES = 2 DOC = """ This test check S0ix state transitions and its wake sources. The iteration should be specified by the parameter -a "faft_iterations=10" """ args_dict = utils.args_to_dict(args) servo_args = hosts.CrosHost.get_servo_arguments(args_dict) def run_s0ixcycle(machine): host = hosts.create_host(machine, servo_args=servo_args) job.run_test("platform_S0ixCycle", host=host, cmdline_args=args, disable_sysinfo=True) parallel_simple(run_s0ixcycle, machines)