# Copyright 2018 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_Instant.x86.CtsLocationTestCases'
ATTRIBUTES = 'suite:cts_P'
DEPENDENCIES = 'arc'
JOB_RETRIES = 1
TEST_TYPE = 'server'
TIME = 'MEDIUM'
MAX_RESULT_SIZE_KB = 512000
DOC = 'Run module CtsLocationTestCases of the Android Compatibility Test Suite for Instant Apps (CTS Instant) using x86 ABI in the ARC++ container.'

def run_CTS(machine):
    host_list = [hosts.create_host(machine)]
    job.run_test(
        'cheets_CTS_Instant',
        hosts=host_list,
        iterations=1,
        needs_push_media=False,
        tag='x86.CtsLocationTestCases',
        test_name='cheets_CTS_Instant.x86.CtsLocationTestCases',
        run_template=['run', 'commandAndExit', 'cts-instant', '--module', 'CtsLocationTestCases'],
        retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'],
        target_module='CtsLocationTestCases',
        target_plan=None,
        bundle='x86',
        retry_manual_tests=True,
        warn_on_test_retry=False,
        timeout=3600)

parallel_simple(run_CTS, machines)