blob: 88c43d642231710466579d776614a7436e7db074 [file] [log] [blame]
Wai-Hong Tam1f3ceff2016-11-03 11:18:48 -07001# Copyright (c) 2016 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 = "faft_smoke"
7PURPOSE = "Smoke test of new firmware."""
8TIME = "SHORT"
9TEST_CATEGORY = "General"
10TEST_CLASS = "suite"
11TEST_TYPE = "Server"
12
13DOC = """
14This suite runs a small set of FAFT tests (AP and EC) and finishes within
1510mins. It is used as a smoke test in pre-CQ for any firmware related CLs.
16
17@param build: The name of the image to test.
18 Ex: x86-mario-release/R17-1412.33.0-a1-b29
19@param board: The board to test on. Ex: x86-mario
20@param pool: The pool of machines to utilize for scheduling. If pool=None
21 board is used.
22@param check_hosts: require appropriate live hosts to exist in the lab.
23@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
24"""
25
26import common
Wai-Hong Tam1f3ceff2016-11-03 11:18:48 -070027from autotest_lib.server.cros.dynamic_suite import dynamic_suite
28
29# Values specified in this bug template will override default values when
30# filing bugs on tests that are a part of this suite. If left unspecified
31# the bug filer will fallback to it's defaults.
32_BUG_TEMPLATE = {
33 'labels': ['FW-labblocker', 'Restrict-View-Google'],
34 'owner': '',
35 'status': None,
36 'summary': None,
37 'title': None,
38}
39
40args_dict['file_bugs'] = False
Shelley Chen663c2522019-07-17 15:09:14 -070041args_dict['name'] = 'faft_smoke'
Wai-Hong Tam1f3ceff2016-11-03 11:18:48 -070042args_dict['job'] = job
43args_dict['add_experimental'] = True
Wai-Hong Tam1f3ceff2016-11-03 11:18:48 -070044args_dict['bug_template'] = _BUG_TEMPLATE
45
46dynamic_suite.reimage_and_run(**args_dict)