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