| # 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. |
| |
| AUTHOR = 'The ChromiumOS Authors' |
| NAME = 'tast.mfp_printscan' |
| METADATA = { |
| "contacts": ["chromeos-test@google.com", "kalin@google.com"], |
| "bug_component": "b:167231", # ChromeOS > Platform > Services > Printing |
| 'criteria': 'Tauto wrapper for specified tast tests', |
| } |
| TIME = 'MEDIUM' |
| TEST_TYPE = 'Server' |
| ATTRIBUTES = 'suite:mfp_printscan' |
| MAX_RESULT_SIZE_KB = 256 * 1024 |
| PY_VERSION = 3 |
| |
| # tast.py uses binaries installed from autotest_server_package.tar.bz2. |
| REQUIRE_SSP = True |
| |
| DOC = ''' |
| Runs the print and scan tests that require physical hardware. |
| |
| 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. |
| ''' |
| |
| def run(machine): |
| job.run_test('tast', |
| host=hosts.create_host(machine), |
| test_exprs=['("group:paper-io" && "paper-io_mfp_printscan")'], |
| ignore_test_failures=False, max_run_sec=9000, |
| command_args=args) |
| |
| parallel_simple(run, machines) |