Fang Deng | 896cea9 | 2014-12-03 18:18:11 -0800 | [diff] [blame] | 1 | # Copyright 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 = 'chromeos-lab-infrastructure' |
| 6 | NAME = 'sanity' |
| 7 | PURPOSE = 'Sanity check run in buildbot to ensure the build will not break duts' |
Fang Deng | 896cea9 | 2014-12-03 18:18:11 -0800 | [diff] [blame] | 8 | |
| 9 | TIME = 'SHORT' |
| 10 | TEST_CATEGORY = 'General' |
| 11 | TEST_CLASS = 'suite' |
| 12 | TEST_TYPE = 'Server' |
| 13 | |
| 14 | DOC = """ |
| 15 | This suite is intended to be run by buildbot as a sanity check of the build. |
| 16 | It currently only contains a dummy_Pass test. It works by relying |
| 17 | on the safety checks built into the provisioning code to identify bad builds. |
| 18 | |
| 19 | This suite is intended to block other bvt suites, and as such is highly |
| 20 | restricted because of the potential performance costs. |
| 21 | |
| 22 | """ |
| 23 | |
| 24 | import common |
Fang Deng | 896cea9 | 2014-12-03 18:18:11 -0800 | [diff] [blame] | 25 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 26 | |
Shuqian Zhao | 24785cc | 2015-06-01 16:32:18 -0700 | [diff] [blame] | 27 | args_dict['add_experimental'] = True |
Shuqian Zhao | 24785cc | 2015-06-01 16:32:18 -0700 | [diff] [blame] | 28 | args_dict['name'] = NAME |
| 29 | args_dict['job'] = job |
| 30 | |
| 31 | dynamic_suite.reimage_and_run(**args_dict) |