blob: 263a303be178410f29608916a36ec8f8bb691f6c [file] [log] [blame] [edit]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
NAME = "power_Consumption"
PURPOSE = "Measure power draw when system is under different kinds of load."
CRITERIA = "This test is a benchmark."
TIME = "MEDIUM"
TEST_CATEGORY = "Benchmark"
TEST_CLASS = "power"
TEST_TYPE = "client"
DOC = """This test runs a series of different tasks like media playback, flash
animation, large file download etc. It measures and reports power
consumptions during each of those tasks.
Args:
test_groups: list of sub-test groups to run. Those refer to _run_group_X()
methods.
reps: a multiplier used for running longer tests. With reps=N each sub-test
will run roughly N times longer. This is good for averaging out more
of the noise and therefore getting better accuracy.
"""
UI_TESTS = ['backlight', 'download', 'webpages', 'video', 'v8']
NONUI_TESTS = ['backchannel', 'sound', 'lowlevel']
DEFAULT_TESTS = UI_TESTS + NONUI_TESTS
job.run_test('power_Consumption', test_groups=DEFAULT_TESTS, reps=1)