blob: 8e3d7f9e62b0f5876d0216bc32b50f9970a27f3e [file] [log] [blame]
Scott Zawalski8fb0af92012-07-11 20:24:11 -04001# Copyright (c) 2012 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
5AUTHOR = "Chrome OS Team"
6NAME = "Power Requirements Test Suite"
7TIME = "LONG"
8TEST_CATEGORY = "General"
9TEST_CLASS = "suite"
10TEST_TYPE = "Server"
11
12DOC = """
13Run Automated power tests on machines with and without AC.
14Intended to verify that the DUT meets CrOS power requirements.
15
16@param build: The name of the image to test.
17 Ex: x86-mario-release/R22-2494.33.0
18@param board: The board to test on. Ex: x86-mario
19@param pool: The pool of machines to utilize for scheduling. If pool=None
20 board is used.
21@param check_hosts: require appropriate live hosts to exist in the lab.
22@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
23"""
24
25import common
Alex Miller2229c9c2013-08-27 15:20:39 -070026from autotest_lib.server.cros import provision
Chris Masone304d78d2012-08-15 20:20:49 -070027from autotest_lib.server.cros.dynamic_suite import dynamic_suite
Scott Zawalski8fb0af92012-07-11 20:24:11 -040028
Shuqian Zhao24785cc2015-06-01 16:32:18 -070029args_dict['add_experimental'] = True
30args_dict['name'] = 'power_requirements'
31args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
32args_dict['job'] = job
33
34dynamic_suite.reimage_and_run(**args_dict)