blob: be4e4d0ab1b69dc73f5ac5868587c698e604aae6 [file] [log] [blame]
# Copyright 2016 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Description
# This test runs a load test consisting of cycling though web pages, playing
# videos, etc. and measures battery power draw. The maximum duration of this test
# in seconds is determined by the loop_time * loop_cnt.
NAME = "power_LoadTest.WIRED_1hr_acok"
METADATA = {
"contacts": ["cros-power-notifications@google.com"],
"author": "ChromeOS Team",
"bug_component": "b:1361410",
"criteria": "This test is a benchmark test",
"hw_agnostic": False,
}
ATTRIBUTES = ("suite:debug_kernel_testing")
TEST_TYPE = "client"
loop_time = 3600
loop_count = 1
args_dict = utils.args_to_dict(args)
pdash_note = args_dict.get('pdash_note', '')
job.run_test('power_LoadTest', loop_time=loop_time, loop_count=loop_count,
test_low_batt_p=6, ac_ok=True, check_network=False,
tag=NAME.split('.')[1], pdash_note=pdash_note)