blob: 28601cab7eed2f77c46e3bdb90f5e1fa78d12956 [file] [log] [blame]
Zdenek Behaneda533c2012-03-13 17:29:31 +01001# 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.
4
5AUTHOR = "Chrome OS Team"
6NAME = "smoke"
7PURPOSE = "Basic tests that are able to run in VMs"
Zdenek Behaneda533c2012-03-13 17:29:31 +01008
9TIME = "SHORT"
10TEST_CATEGORY = "General"
11TEST_CLASS = "suite"
Aviv Keshet372f4cb2013-03-13 19:15:41 -070012TEST_TYPE = "Server"
Zdenek Behaneda533c2012-03-13 17:29:31 +010013
14DOC = """
Po-Hsien Wang0808e992018-04-24 15:20:26 -070015The smoke suite is a subset of tests specifically chosen to run in virtual
16machines, primarily for early testing on dedicated lab builders.
Zdenek Behaneda533c2012-03-13 17:29:31 +010017
18@param build: The name of the image to test.
19 Ex: x86-mario-release/R17-1412.33.0-a1-b29
20@param board: The board to test on. Ex: x86-mario
21@param pool: The pool of machines to utilize for scheduling. If pool=None
22 board is used.
23@param check_hosts: require appropriate live hosts to exist in the lab.
24@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
25"""
26
27import common
Chris Masone304d78d2012-08-15 20:20:49 -070028from autotest_lib.server.cros.dynamic_suite import dynamic_suite
Zdenek Behaneda533c2012-03-13 17:29:31 +010029
Shuqian Zhao24785cc2015-06-01 16:32:18 -070030args_dict['name'] = 'smoke'
31args_dict['add_experimental'] = True
Shuqian Zhao24785cc2015-06-01 16:32:18 -070032args_dict['job'] = job
33
34dynamic_suite.reimage_and_run(**args_dict)