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