| # Copyright 2018 The Chromium OS Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| AUTHOR = "ChromeOS Team" | |
| NAME = "bvt-tast-cq" | |
| PURPOSE = "Tests all critical functionality for ChromeOS CQ using Tast." | |
| TIME = "SHORT" | |
| TEST_CATEGORY = "General" | |
| TEST_CLASS = "suite" | |
| TEST_TYPE = "Server" | |
| DOC = """ | |
| This suite verifies ChromeOS's basic functionality for the ChromeOS Commit | |
| Queue by running all Tast integration tests (exercising ARC, Chrome, and the OS | |
| itself) that must always pass against a DUT. See http://go/tast for more | |
| information about Tast. | |
| The only Autotest tests executed by this suite are tast.critical-*, which are | |
| server tests that execute the tast executable. The tast executable runs | |
| individual Tast tests. If any of these Tast tests fail, then the corresponding | |
| tast.critical test (and this suite) fail. | |
| """ | |
| import common | |
| from autotest_lib.server.cros.dynamic_suite import dynamic_suite | |
| args_dict['name'] = NAME | |
| args_dict['max_runtime_mins'] = 20 | |
| args_dict['timeout_mins'] = 1440 | |
| args_dict['job'] = job | |
| dynamic_suite.reimage_and_run(**args_dict) |