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!
6
7from autotest_lib.server import utils
8
9AUTHOR = 'ARC++ Team'
10NAME = 'cheets_CTS_P.9.0_r14.arm.CtsBluetoothTestCases'
11ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-unibuild, suite:arc-cts-unibuild-hw'
12DEPENDENCIES = 'arc'
13JOB_RETRIES = 1
14TEST_TYPE = 'server'
15TIME = 'MEDIUM'
16MAX_RESULT_SIZE_KB = 512000
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 = 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='9.0_r14.arm.CtsBluetoothTestCases',
37        test_name='cheets_CTS_P.9.0_r14.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='gs://chromeos-arc-images/cts/bundle/P/android-cts-9.0_r14-linux_x86-arm.zip',
44        prerequisites=['bluetooth'],
45        hard_reboot_on_failure=True,
46        timeout=3600)
47
48parallel_simple(run_TS, machines)
49