blob: 30f873cfa540f392687ce28e05d896c26d8c71e2 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
NAME = "hardware_Xrandr"
PURPOSE = 'Verify that Xrandr is able to turn the screen on/off.'
If Xrandr cannot turn the screen on/off, the test will fail.
If the Xrandr time takes more than one second, the test will fail.
SUITE = "hwqual"
TEST_CATEGORY = "Functional"
TEST_CLASS = "hardware"
TEST_TYPE = "client"
DOC = """
Call "xrandr --output [OUTPUT] --auto/--on" to turn screen off/on, respectively.
constraints=['s_internal_off_max_time <= 1.0',
's_internal_on_max_time <= 1.0'])