Home | History | Annotate | Download | only in power_DarkResumeDisplay
      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 TIME = "SHORT"
     13 TEST_CATEGORY = "Functional"
     14 TEST_CLASS = "power"
     15 TEST_TYPE = "server"
     16 DEPENDENCIES = "servo"
     17 
     18 DOC = """
     19 Test that there are no crtc errors generated during dark resume that would
     20 result in a display error when the device resumes to the user
     21 """
     22 
     23 args_dict = utils.args_to_dict(args)
     24 servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
     25 
     26 def run(machine):
     27     host = hosts.create_host(machine, servo_args=servo_args)
     28     job.run_test("power_DarkResumeDisplay", host=host, disable_sysinfo=True)
     29 
     30 parallel_simple(run, machines)
     31 
     32