| # Copyright 2021 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| NAME = 'tast.hps-perbuild' |
| METADATA = { |
| "contacts": ["chromeos-hps-swe@google.com"], |
| "bug_component": "b:1140302", |
| 'criteria': 'Tauto wrapper for specified tast tests', |
| "hw_agnostic": False |
| } |
| TIME = 'SHORT' |
| TEST_TYPE = 'Server' |
| ATTRIBUTES = 'suite:hps_perf_perbuild' |
| MAX_RESULT_SIZE_KB = 1024 * 1024 |
| PY_VERSION = 3 |
| |
| DOC = ''' |
| Run the Tast HPS Camerabox test suite on HPS-enabled boards. |
| |
| 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. |
| |
| See http://go/tast-failures for information about investigating failures. |
| ''' |
| |
| def run(machine): |
| job.run_test('tast', |
| host=hosts.create_host(machine), |
| test_exprs=['("group:hps" && hps_perbuild && !hps_devboard_p2_sweetberry)'], |
| ignore_test_failures=True, |
| max_run_sec=7200, # 2 hours |
| use_camera_box=True, |
| command_args=args) |
| |
| parallel_simple(run, machines) |