J. Richard Barnette | c49fc88 | 2014-04-28 16:37:02 -0700 | [diff] [blame] | 1 | # Copyright (c) 2014 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 | |
| 5 | AUTHOR = "Chrome OS Team" |
| 6 | NAME = "experimental" |
| 7 | PURPOSE = "Staging ground for BVT candidates" |
| 8 | CRITERIA = "Failures in this suite do not block release of a build" |
| 9 | |
| 10 | TIME = "SHORT" |
| 11 | TEST_CATEGORY = "General" |
| 12 | TEST_CLASS = "suite" |
| 13 | TEST_TYPE = "Server" |
| 14 | |
| 15 | DOC = """ |
| 16 | Before a test is added to the BVT, it must demonstrate a track |
| 17 | record of stability running in the lab. The track record is |
| 18 | created by adding it to a suite and allowing it to run. The |
| 19 | 'experimental' suite can be used when no other more convenient |
| 20 | suite is available for the purpose. |
| 21 | |
| 22 | @param build: The name of the image to test. |
| 23 | Ex: x86-mario-release/R17-1412.33.0-a1-b29 |
| 24 | @param board: The board to test on. Ex: x86-mario |
| 25 | @param pool: The pool of machines to utilize for scheduling. If pool=None |
| 26 | board is used. |
| 27 | @param check_hosts: require appropriate live hosts to exist in the lab. |
| 28 | """ |
| 29 | |
| 30 | import common |
| 31 | from autotest_lib.server.cros import provision |
| 32 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 33 | |
| 34 | |
Shuqian Zhao | 24785cc | 2015-06-01 16:32:18 -0700 | [diff] [blame] | 35 | args_dict['add_experimental'] = False |
| 36 | args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX |
| 37 | args_dict['name'] = NAME |
| 38 | args_dict['job'] = job |
| 39 | |
| 40 | dynamic_suite.reimage_and_run(**args_dict) |