| # Copyright 2018 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_loadtest_fast" |
| PURPOSE = "Power load testing." |
| |
| TIME = "SHORT" |
| TEST_CATEGORY = "General" |
| TEST_CLASS = "suite" |
| TEST_TYPE = "Server" |
| |
| DOC = """ |
| This test runs a load test consisting of cycling though web pages, playing |
| videos, etc. and measures battery power draw. |
| """ |
| |
| import common |
| from autotest_lib.server.cros import provision |
| from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| |
| args_dict['add_experimental'] = True |
| args_dict['name'] = NAME |
| args_dict['job'] = job |
| |
| dynamic_suite.reimage_and_run(**args_dict) |