| # Copyright 2023 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| AUTHOR = 'Chromium OS team' |
| NAME = 'tast.arc_chromeos_vm' |
| METADATA = { |
| "contacts": ["cros-arc-te@google.com", "arc-engprod@google.com"], |
| "bug_component": "b:1052117", # ChromeOS > Software > ARC++ > EngProd |
| "criteria": "Run Tast tests for ARC++ ChromeOS VM" |
| } |
| |
| TIME = 'LONG' |
| TEST_TYPE = 'Server' |
| ATTRIBUTES = 'suite:arc_chromeos_vm' |
| MAX_RESULT_SIZE_KB = 50 * 1024 |
| PY_VERSION = 3 |
| # tast.py uses binaries installed from autotest_server_package.tar.bz2. |
| REQUIRE_SSP = True |
| DOC = ''' |
| Run the Tast ARC ChromeOS VM test suite. |
| Tast is an integration-testing framework analagous to the test-running portion |
| of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for |
| more information. |
| This runs the group of ARC ChromeOS VM functional tests. |
| ''' |
| def run(machine): |
| job.run_test('tast', |
| host=hosts.create_host(machine), |
| test_exprs=['("group:arc" && arc_chromeos_vm)'], |
| max_run_sec=21600, |
| command_args=args) |
| parallel_simple(run, machines) |