# 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.x86.CtsCameraTestCases'
ATTRIBUTES = 'suite:cts_N'
DEPENDENCIES = 'arc, cts_abi_x86, lighting'
JOB_RETRIES = 2
TEST_TYPE = 'server'
TIME = 'LONG'
MAX_RESULT_SIZE_KB = 307200
PRIORITY = 50
DOC = 'Run module CtsCameraTestCases of the Android Compatibility Test Suite (CTS) using x86 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=3,
        needs_push_media=False,
        tag='CtsCameraTestCases',
        test_name='cheets_CTS_N.x86.CtsCameraTestCases',
        run_template=['run', 'commandAndExit', 'cts', '--module', 'CtsCameraTestCases', '--precondition-arg', 'skip-media-download', '--disable-reboot', '--logcat-on-failure', '--skip-device-info'],
        retry_template=['run', 'commandAndExit', 'cts', '--module', 'CtsCameraTestCases', '--precondition-arg', 'skip-media-download', '--disable-reboot', '--logcat-on-failure', '--skip-device-info', '--retry', '{session_id}'],
        target_module='CtsCameraTestCases',
        target_plan=None,
        bundle='x86',
        warn_on_test_retry=False,
        retry_manual_tests=True,
        timeout=3600)

parallel_simple(run_CTS, machines)
