blob: 97d6a251b6c6e24ca814340cc7121e4e5e3d424b [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.'
CRITERIA = """
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"
TIME = "FAST"
TEST_CATEGORY = "Functional"
TEST_CLASS = "hardware"
TEST_TYPE = "client"
DOC = """
Call "xrandr --output [OUTPUT] --auto/--on" to turn screen off/on, respectively.
"""
job.run_test('hardware_Xrandr',
constraints=['s_max_internal_off_time <= 1.0',
's_max_internal_on_time <= 1.0'])