1# Copyright 2018 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_P.internal.arm.CtsBluetoothTestCases' 10ATTRIBUTES = 'suite:arc-cts, 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 CtsBluetoothTestCases 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_P', 34 hosts=host_list, 35 iterations=1, 36 tag='internal.arm.CtsBluetoothTestCases', 37 test_name='cheets_CTS_P.internal.arm.CtsBluetoothTestCases', 38 run_template=['run', 'commandAndExit', 'cts', '--module', 'CtsBluetoothTestCases', '--logcat-on-failure', '--dynamic-config-url='], 39 retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}', '--dynamic-config-url='], 40 target_module='CtsBluetoothTestCases', 41 target_plan=None, 42 bundle='arm', 43 uri='DEV', 44 prerequisites=['bluetooth'], 45 hard_reboot_on_failure=True, 46 timeout=3600) 47 48parallel_simple(run_TS, machines) 49