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