Greg Edelston | 4ffddb1 | 2019-04-30 10:18:12 -0600 | [diff] [blame] | 1 | # Copyright 2019 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 | |
| 5 | AUTHOR = "gredelston, kmshelton, dgoyette, waihong" |
Prathmesh Prabhu | b73616d | 2019-11-26 14:59:08 -0800 | [diff] [blame] | 6 | NAME = "faft_framework" |
Greg Edelston | 4ffddb1 | 2019-04-30 10:18:12 -0600 | [diff] [blame] | 7 | PURPOSE = "Suite to verify that the FAFT framework is intact" |
| 8 | TIME = "SHORT" |
| 9 | TEST_CATEGORY = "General" |
| 10 | TEST_CLASS = "suite" |
| 11 | TEST_TYPE = "Server" |
| 12 | |
| 13 | DOC = """ |
| 14 | This is a faft (FULLY AUTOMATED FIRMWARE TEST) suite. The tests in this suite |
| 15 | verify that the FAFT framework itself is intact. |
| 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 | |
| 26 | import common |
| 27 | from 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': ['Restrict-View-Google'], |
| 34 | 'owner': '', |
| 35 | 'status': None, |
| 36 | 'summary': None, |
| 37 | 'title': None, |
| 38 | } |
| 39 | |
| 40 | args_dict['file_bugs'] = False |
Prathmesh Prabhu | b73616d | 2019-11-26 14:59:08 -0800 | [diff] [blame] | 41 | args_dict['name'] = NAME |
Greg Edelston | 4ffddb1 | 2019-04-30 10:18:12 -0600 | [diff] [blame] | 42 | args_dict['job'] = job |
| 43 | args_dict['add_experimental'] = True |
| 44 | args_dict['bug_template'] = _BUG_TEMPLATE |
| 45 | |
| 46 | dynamic_suite.reimage_and_run(**args_dict) |