1# Copyright (c) 2014 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 5PY_VERSION = 3 6NAME = 'graphics_PerfControl' 7AUTHOR = 'chromeos-gfx' 8PURPOSE = 'Verifies that we are able to obtain a cool and idle machine.' 9CRITERIA = """ 10If there are problems reading temperature sensors this test will fail. 11This test will also fail if more than 10 percent of the system CPU 12even after a wait of 60 seconds. 13""" 14ATTRIBUTES = "suite:bvt-perbuild, suite:graphics, suite:graphics_per-day, suite:graphics_system, suite:pvs-graphics" 15TIME='fast' 16TEST_CATEGORY = 'Performance' 17TEST_CLASS = "Performance" 18TEST_TYPE = 'client' 19BUG_TEMPLATE = { 20 'components': ['OS>Kernel>Graphics'], 21} 22 23DOC = """ 24Performance tests should be wrapped in a PerfControl object to ensure 25consistent thermal state and performance results. This test exercises 26this basic functionality with a Noop performance test. 27""" 28 29job.run_test('graphics_PerfControl') 30