# 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!

AUTHOR = 'ARC++ Team'
NAME = 'cheets_CTS_N.arm.CtsBluetoothTestCases'
ATTRIBUTES = 'suite:cts_N'
DEPENDENCIES = 'arc'
JOB_RETRIES = 2
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.'

def run_CTS(machine):
    host_list = [hosts.create_host(machine)]
    job.run_test(
        'cheets_CTS_N',
        hosts=host_list,
        iterations=1,
        max_retry=10,
        needs_push_media=False,
        tag='CtsBluetoothTestCases',
        test_name='cheets_CTS_N.arm.CtsBluetoothTestCases',
        run_template=['run', 'commandAndExit', 'cts', '--module', 'CtsBluetoothTestCases', '--precondition-arg', 'skip-media-download', '--disable-reboot', '--logcat-on-failure', '--skip-device-info'],
        retry_template=['run', 'commandAndExit', 'cts', '--module', 'CtsBluetoothTestCases', '--precondition-arg', 'skip-media-download', '--disable-reboot', '--logcat-on-failure', '--skip-device-info', '--retry', '{session_id}'],
        target_module='CtsBluetoothTestCases',
        target_plan=None,
        bundle='arm',
        warn_on_test_retry=False,
        retry_manual_tests=True,
        timeout=3600)

parallel_simple(run_CTS, machines)
