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 SUITE = 'bvt-perbuild, graphics_per-day, graphics, graphics_system' 15 TIME='fast' 16 TEST_CATEGORY = 'Performance' 17 TEST_CLASS = "Performance" 18 TEST_TYPE = 'client' 19 JOB_RETRIES = 2 20 BUG_TEMPLATE = { 21 'labels': ['Cr-OS-Kernel-Graphics'], 22 } 23 24 DOC = """ 25 Performance tests should be wrapped in a PerfControl object to ensure 26 consistent thermal state and performance results. This test exercises 27 this basic functionality with a Noop performance test. 28 """ 29 30 job.run_test('graphics_PerfControl') 31