| # Copyright 2021 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-arc" | |
| PURPOSE = "Tests critical ARC functionality for ChromeOS CQ using Tast." | |
| TIME = "SHORT" | |
| TEST_CATEGORY = "General" | |
| TEST_CLASS = "suite" | |
| TEST_TYPE = "Server" | |
| DOC = """ | |
| This suite verifies ARC's basic functionality for ARC variant boards | |
| (e.g. *-arc-r) in the ChromeOS CQ, by running ARC-specific Tast integration | |
| tests that must always pass against a DUT. See http://go/tast for more | |
| information about Tast. | |
| The only Autotest test executed by this suite is tast.critical-android, which is | |
| a server test that executes the tast executable. The tast executable runs | |
| individual Tast tests. If any of these Tast tests fail, then | |
| tast.critical-android (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) |