Daniel Erat | feabe10 | 2018-07-20 18:44:00 -0700 | [diff] [blame] | 1 | # Copyright 2018 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 = "Chrome OS Team" |
| 6 | NAME = "bvt-tast-chrome-pfq" |
| 7 | PURPOSE = "Tests critical Chrome functionality for Chrome PFQ using Tast." |
| 8 | |
| 9 | TIME = "SHORT" |
| 10 | TEST_CATEGORY = "General" |
| 11 | TEST_CLASS = "suite" |
| 12 | TEST_TYPE = "Server" |
| 13 | |
| 14 | DOC = """ |
| 15 | This suite verifies Chrome's basic functionality for the Chrome Pre-Flight Queue |
| 16 | by running all Chrome and ARC (since ARC depends on Chrome) Tast integration |
| 17 | tests that must always pass against a DUT. See http://go/tast for more |
| 18 | information about Tast. |
| 19 | |
Shuhei Takahashi | ea32099 | 2019-04-15 13:09:04 +0900 | [diff] [blame] | 20 | The only Autotest tests executed by this suite are tast.critical-chrome and |
| 21 | tast.critical-android, which are server tests that execute the tast executable. |
Daniel Erat | feabe10 | 2018-07-20 18:44:00 -0700 | [diff] [blame] | 22 | The tast executable runs individual Tast tests. If any of these Tast tests fail, |
Shuhei Takahashi | ea32099 | 2019-04-15 13:09:04 +0900 | [diff] [blame] | 23 | then the corresponding tast.critical test (and this suite) fail. |
Daniel Erat | feabe10 | 2018-07-20 18:44:00 -0700 | [diff] [blame] | 24 | """ |
| 25 | |
| 26 | import common |
| 27 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 28 | |
| 29 | args_dict['name'] = NAME |
| 30 | args_dict['max_runtime_mins'] = 20 |
| 31 | args_dict['timeout_mins'] = 1440 |
| 32 | args_dict['job'] = job |
| 33 | |
| 34 | dynamic_suite.reimage_and_run(**args_dict) |