1# Copyright (c) 2015 The Chromium OS Authors. All rights reserved 2014.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5from autotest_lib.server import utils
6
7AUTHOR = "Chrome OS Team"
8NAME = "platform_InternalDisplay"
9PURPOSE = "Check if chromebook is initialized with internal dispalyt"
10CRITERIA = "This test will fail if internal display is not set"
11TIME = "SHORT"
12TEST_CATEGORY = "Functional"
13TEST_CLASS = "platform"
14TEST_TYPE = "server"
15SUITE = "bvt-perbuild"
16REQUIRE_SSP = False
17
18
19DOC = """
20This test catches internal display not initialized for devices with internal display - crbug/508569.
21It's checked after 1) reboot and 2) suspend/resume.
22"""
23
24args_dict = utils.args_to_dict(args)
25
26def run(machine):
27    host = hosts.create_host(machine)
28    job.run_test("platform_InternalDisplay", host=host,
29                 disable_sysinfo=True)
30
31parallel_simple(run, machines)