Tien Chang | b431326 | 2015-06-24 16:37:06 -0700 | [diff] [blame] | 1 | # Copyright 2015 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 = "tienchang, krisr, bmahadev, wiley" |
| 6 | NAME = "wificell-pre-cq" |
| 7 | PURPOSE = "This suite is a baseline set of tests that act as a wifi pre-cq." |
Tien Chang | b431326 | 2015-06-24 16:37:06 -0700 | [diff] [blame] | 8 | TIME = "SHORT" |
| 9 | TEST_CLASS = "suite" |
| 10 | TEST_TYPE = "Server" |
| 11 | |
| 12 | DOC = """ |
| 13 | This suite acts as a pre-cq specific to ChromeOS WiFi related changes and is |
| 14 | only invoked via a flag in CLs. |
| 15 | |
| 16 | @param build: The name of the image to test. |
| 17 | @param board: The board to test on. |
| 18 | @param pool: The pool of machines to utilize for scheduling. If pool=None |
| 19 | board is used. |
| 20 | @param check_hosts: require appropriate live hosts to exist in the lab. |
| 21 | @param SKIP_IMAGE: (optional) If present and True, don't re-image devices. |
| 22 | @param file_bugs: If True your suite will file bugs on failures. |
| 23 | @param max_run_time: Amount of time each test shoud run in minutes.i |
| 24 | |
| 25 | """ |
| 26 | |
| 27 | import common |
Tien Chang | b431326 | 2015-06-24 16:37:06 -0700 | [diff] [blame] | 28 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 29 | |
Tien Chang | 82d742b | 2016-05-06 15:55:39 -0700 | [diff] [blame] | 30 | args_dict['add_experimental'] = True |
| 31 | args_dict['max_runtime_mins'] = 60 |
Tien Chang | 82d742b | 2016-05-06 15:55:39 -0700 | [diff] [blame] | 32 | args_dict['name'] = NAME |
| 33 | args_dict['job'] = job |
| 34 | |
| 35 | dynamic_suite.reimage_and_run(**args_dict) |