blob: f844277cee84805a7d12c0d7ed5ecbde763dd52c [file] [log] [blame]
Chris Masone5552dd72012-02-15 15:01:04 -08001# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
Chris Masone6fed6462011-10-20 16:36:43 -07002# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "Chrome OS Team"
6NAME = "bvt"
7PURPOSE = "Test basic, required functionality."
8CRITERIA = "All tests with SUITE=bvt must pass."
9
10TIME = "SHORT"
11TEST_CATEGORY = "General"
12TEST_CLASS = "suite"
13TEST_TYPE = "Server"
14
15DOC = """
Scott Zawalskic50ce042012-04-17 13:01:31 -040016This is the Build Verification Test suite. It should consist of SHORT tests
Chris Masone6fed6462011-10-20 16:36:43 -070017that validate critical functionality -- ability to acquire connectivity, perform
Chris Masone2ef1d4e2011-12-20 11:06:53 -080018crash reporting, get updates, and allow a user to log in, among other things.
Scott Zawalskic50ce042012-04-17 13:01:31 -040019This suite sets num to 4 in the reimage_and_run call to make sure we run
20across 4 different machines. This overrides the CROS.sharding_factor option in
21the global_config.
Chris Masone2ef1d4e2011-12-20 11:06:53 -080022
Chris Masone017b04b2012-01-30 08:48:22 -080023@param build: The name of the image to test.
Chris Masone8b7cd422012-02-22 13:16:11 -080024 Ex: x86-mario-release/R17-1412.33.0-a1-b29
Scott Zawalskic50ce042012-04-17 13:01:31 -040025@param board: The board to test on. Ex: x86-mario
Scott Zawalski65650172012-02-16 11:48:26 -050026@param pool: The pool of machines to utilize for scheduling. If pool=None
27 board is used.
Chris Masone62579122012-03-08 15:18:43 -080028@param check_hosts: require appropriate live hosts to exist in the lab.
Chris Masone2ef1d4e2011-12-20 11:06:53 -080029@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
Chris Masone6fed6462011-10-20 16:36:43 -070030"""
31
32import common
33from autotest_lib.server.cros import dynamic_suite
34
Chris Masone990fd262012-03-05 16:17:16 -080035dynamic_suite.reimage_and_run(
36 build=build, board=board, name='bvt', job=job, pool=pool,
Scott Zawalskic50ce042012-04-17 13:01:31 -040037 check_hosts=check_hosts, add_experimental=True, num=4,
Chris Masone62579122012-03-08 15:18:43 -080038 skip_reimage=dynamic_suite.skip_reimage(globals()))