Matt Mallett | cbf08f2 | 2018-03-14 14:08:09 -0700 | [diff] [blame] | 1 | # Copyright 2017 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 = "moblab_setup" |
| 7 | PURPOSE = """ |
| 8 | Test moblab has correct DUT configuration in preparation of a longer |
| 9 | running test |
| 10 | """ |
| 11 | |
| 12 | TIME = "SHORT" |
| 13 | TEST_CATEGORY = "Setup" |
| 14 | TEST_CLASS = "suite" |
| 15 | TEST_TYPE = "Server" |
| 16 | |
| 17 | DOC = """ |
| 18 | Tests that moblab has the minimum number of DUTs, with correct labels. This |
| 19 | test relieves the pain point of kicking off a long running test suite, but |
| 20 | having a handful of tests fail, or not run at all because some the DUT setup |
| 21 | wasn't correct. |
| 22 | """ |
| 23 | |
| 24 | import common |
| 25 | from autotest_lib.server.cros import provision |
| 26 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 27 | |
| 28 | args_dict['add_experimental'] = True |
| 29 | args_dict['name'] = NAME |
| 30 | args_dict['job'] = job |
| 31 | |
| 32 | dynamic_suite.reimage_and_run(**args_dict) |