| # Copyright 2020 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # __GENERATED_BY_GENERATE_CONTROLFILES_PY__:DEV |
| |
| # This file has been automatically generated. Do not edit! |
| from autotest_lib.server import utils as server_utils |
| |
| AUTHOR = 'n/a' |
| NAME = 'cheets_CTS_R.internal.arm.CtsSensor' |
| METADATA = { |
| "contacts": ["arc-cts-eng@google.com"], |
| "bug_component": "b:183644", |
| "criteria": "A part of Android CTS", |
| } |
| ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-arm-11' |
| DEPENDENCIES = 'arc' |
| HW_DEPS = ['android-container-rvc','android-vm-rvc'] |
| JOB_RETRIES = 1 |
| TEST_TYPE = 'server' |
| TIME = 'MEDIUM' |
| MAX_RESULT_SIZE_KB = 512000 |
| DOC = 'n/a' |
| |
| # For local debugging, if your test setup doesn't have servo, REMOVE these |
| # two lines. |
| args_dict = server_utils.args_to_dict(args) |
| servo_args = hosts.CrosHost.get_servo_arguments(args_dict) |
| |
| def run_TS(machine): |
| # REMOVE 'servo_args=servo_args' arg for local debugging if your test |
| # setup doesn't have servo. |
| try: |
| host_list = [hosts.create_host(machine, servo_args=servo_args)] |
| except: |
| # Just ignore any servo setup flakiness. |
| host_list = [hosts.create_host(machine)] |
| job.run_test( |
| 'cheets_CTS_R', |
| hosts=host_list, |
| iterations=1, |
| tag='internal.arm.CtsSensor', |
| test_name='cheets_CTS_R.internal.arm.CtsSensor', |
| run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsSensorTestCases', '--include-filter', 'CtsSensorTestCases[instant]', '--include-filter', 'CtsSensorTestCases[secondary_user]', '--logcat-on-failure'], |
| retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'], |
| target_module='CtsSensor', |
| target_plan=None, |
| bundle='arm', |
| uri='DEV', |
| hard_reboot_on_failure=True, |
| timeout=12600) |
| |
| parallel_simple(run_TS, machines) |