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