1 # Copyright (c) 2012 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.
5 AUTHOR = "Chrome OS Team"
7 PURPOSE = "Test basic, required functionality."
8 CRITERIA = "All tests with SUITE=bvt must pass."
11 TEST_CATEGORY = "General"
16 This is the Build Verification Test suite. It should consist of SHORT tests
17 that validate critical functionality. Critical functionality includes but is
18 not limited to tests that cover the ability to acquire connectivity, perform
19 -crash reporting, get updates, and allow a user to log in. A test failure in
20 this suite means that the build is dead in the water and will not be passed
21 on to QA. Tests that check critical pathways but are long running need to be
22 pared down and added to this suite on a case by case basis. The longer running
23 version can continue to run in other suites such as the regression suite. If you
24 are unsure if your test belongs in this suite email:
25 chromeos-lab-infrastructure@google.com.
27 This suite sets num to 4 in the reimage_and_run call to make sure we run
28 across 4 different machines. This overrides the CROS.sharding_factor option in
32 @param build: The name of the image to test.
33 Ex: x86-mario-release/R17-1412.33.0-a1-b29
34 @param board: The board to test on. Ex: x86-mario
35 @param pool: The pool of machines to utilize for scheduling. If pool=None
37 @param check_hosts: require appropriate live hosts to exist in the lab.
38 @param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
42 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
44 dynamic_suite.reimage_and_run(
45 build=build, board=board, name='bvt', job=job, pool=pool,
46 check_hosts=check_hosts, add_experimental=True, num=num,
47 file_bugs=file_bugs, skip_reimage=dynamic_suite.skip_reimage(globals()),