1 # Copyright 2015 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 AUTHOR = "Chrome OS Team" 6 NAME = "graphics_PowerConsumption" 7 TIME = "MEDIUM" 8 TEST_CATEGORY = "Performance" 9 TEST_CLASS = "graphics" 10 ATTRIBUTES = "suite:bvt-perbuild" 11 TEST_TYPE = "server" 12 DEPENDENCIES = "rpm, power:battery" 13 BUG_TEMPLATE = { 14 "labels": ["OS-Chrome"], 15 "components": ["OS>Kernel>Graphics"], 16 } 17 18 DOC = """ 19 The test outputs the power consumption for WebGL Aquarium gfx demo. 20 """ 21 22 23 def run(machine): 24 host = hosts.create_host(machine) 25 job.run_test("graphics_PowerConsumption", host=host, 26 client_test='graphics_WebGLAquarium') 27 28 29 parallel_simple(run, machines) 30