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