| # Copyright 2016 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # This file has been automatically generated. Do not edit! |
| |
| from autotest_lib.server import utils |
| |
| AUTHOR = 'ARC++ Team' |
| NAME = 'cheets_CTS_N.7.1_r28.arm.CtsBluetoothTestCases' |
| ATTRIBUTES = 'suite:arc-cts' |
| DEPENDENCIES = 'arc' |
| JOB_RETRIES = 1 |
| TEST_TYPE = 'server' |
| TIME = 'MEDIUM' |
| MAX_RESULT_SIZE_KB = 307200 |
| DOC = 'Run module CtsBluetoothTestCases of the Android Compatibility Test Suite (CTS) using arm ABI in the ARC++ container.' |
| |
| # For local debugging, if your test setup doesn't have servo, REMOVE these |
| # two lines. |
| args_dict = utils.args_to_dict(args) |
| servo_args = hosts.CrosHost.get_servo_arguments(args_dict) |
| |
| def run_CTS(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_N', |
| hosts=host_list, |
| iterations=1, |
| needs_push_media=False, |
| tag='7.1_r28.arm.CtsBluetoothTestCases', |
| test_name='cheets_CTS_N.7.1_r28.arm.CtsBluetoothTestCases', |
| run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsBluetoothTestCases', '--disable-reboot', '--logcat-on-failure', '--skip-device-info'], |
| retry_template=['run', 'commandAndExit', 'cts', '--disable-reboot', '--skip-device-info', '--retry', '{session_id}'], |
| target_module='CtsBluetoothTestCases', |
| target_plan=None, |
| bundle='arm', |
| uri='gs://chromeos-arc-images/cts/bundle/N/android-cts-7.1_r28-linux_x86-arm.zip', |
| hard_reboot_on_failure=True, |
| timeout=3600) |
| |
| parallel_simple(run_CTS, machines) |