1# Copyright 2020 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# This file has been automatically generated. Do not edit! 6from autotest_lib.server import utils as server_utils 7 8AUTHOR = 'ARC++ Team' 9NAME = 'cheets_CTS_R.internal.arm.CtsSensor' 10ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-r, suite:arc-cts-unibuild, suite:arc-cts-unibuild-hw' 11DEPENDENCIES = 'arc' 12JOB_RETRIES = 1 13TEST_TYPE = 'server' 14TIME = 'MEDIUM' 15MAX_RESULT_SIZE_KB = 512000 16PY_VERSION = 3 17DOC = 'Run module CtsSensorTestCases, CtsSensorTestCases[instant], CtsSensorTestCases[secondary_user] of the Android Compatibility Test Suite (CTS) using arm ABI in the ARC++ container.' 18 19# For local debugging, if your test setup doesn't have servo, REMOVE these 20# two lines. 21args_dict = server_utils.args_to_dict(args) 22servo_args = hosts.CrosHost.get_servo_arguments(args_dict) 23 24def run_TS(machine): 25 # REMOVE 'servo_args=servo_args' arg for local debugging if your test 26 # setup doesn't have servo. 27 try: 28 host_list = [hosts.create_host(machine, servo_args=servo_args)] 29 except: 30 # Just ignore any servo setup flakiness. 31 host_list = [hosts.create_host(machine)] 32 job.run_test( 33 'cheets_CTS_R', 34 hosts=host_list, 35 iterations=1, 36 tag='internal.arm.CtsSensor', 37 test_name='cheets_CTS_R.internal.arm.CtsSensor', 38 run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsSensorTestCases', '--include-filter', 'CtsSensorTestCases[instant]', '--include-filter', 'CtsSensorTestCases[secondary_user]', '--logcat-on-failure'], 39 retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'], 40 target_module='CtsSensor', 41 target_plan=None, 42 bundle='arm', 43 uri='DEV', 44 use_jdk9=True, 45 hard_reboot_on_failure=True, 46 timeout=12600) 47 48parallel_simple(run_TS, machines) 49