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