1 # Copyright 2016 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 # Test expects to be run on a jailbroken device in developer mode. 6 7 from autotest_lib.server import utils 8 9 AUTHOR = "seanpaul, dbasehore, snanda" 10 NAME = "power_DarkResumeDisplay" 11 ATTRIBUTES = "suite:kernel_daily_regression" 12 SUITE = "kernel_daily_regression" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "power" 16 TEST_TYPE = "server" 17 DEPENDENCIES = "servo" 18 19 DOC = """ 20 Test that there are no crtc errors generated during dark resume that would 21 result in a display error when the device resumes to the user 22 """ 23 24 args_dict = utils.args_to_dict(args) 25 26 def run(machine): 27 host = hosts.create_host(machine) 28 job.run_test("power_DarkResumeDisplay", host=host, disable_sysinfo=True) 29 30 parallel_simple(run, machines) 31 32