Daniel Erat | 143fe69 | 2018-06-21 17:36:18 -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" |
Daniel Erat | feabe10 | 2018-07-20 18:44:00 -0700 | [diff] [blame] | 6 | NAME = "bvt-tast-cq" |
| 7 | PURPOSE = "Tests all critical functionality for Chrome OS CQ using Tast." |
Daniel Erat | 143fe69 | 2018-06-21 17:36:18 -0700 | [diff] [blame] | 8 | |
| 9 | TIME = "SHORT" |
| 10 | TEST_CATEGORY = "General" |
| 11 | TEST_CLASS = "suite" |
| 12 | TEST_TYPE = "Server" |
| 13 | |
| 14 | DOC = """ |
Daniel Erat | feabe10 | 2018-07-20 18:44:00 -0700 | [diff] [blame] | 15 | This suite verifies Chrome OS's basic functionality for the Chrome OS Commit |
| 16 | Queue by running all Tast integration tests (exercising ARC, Chrome, and the OS |
| 17 | itself) that must always pass against a DUT. See http://go/tast for more |
| 18 | information about Tast. |
Daniel Erat | 143fe69 | 2018-06-21 17:36:18 -0700 | [diff] [blame] | 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-*, which are |
Daniel Erat | 143fe69 | 2018-06-21 17:36:18 -0700 | [diff] [blame] | 21 | server tests that execute the tast executable. The tast executable runs |
| 22 | individual Tast tests. If any of these Tast tests fail, then the corresponding |
Shuhei Takahashi | ea32099 | 2019-04-15 13:09:04 +0900 | [diff] [blame] | 23 | tast.critical test (and this suite) fail. |
Daniel Erat | 143fe69 | 2018-06-21 17:36:18 -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 |
Daniel Erat | feabe10 | 2018-07-20 18:44:00 -0700 | [diff] [blame] | 31 | args_dict['timeout_mins'] = 1440 |
Daniel Erat | 143fe69 | 2018-06-21 17:36:18 -0700 | [diff] [blame] | 32 | args_dict['job'] = job |
| 33 | |
| 34 | dynamic_suite.reimage_and_run(**args_dict) |