# 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.arm.CtsWidgetTestCases'
ATTRIBUTES = 'suite:cts_P'
DEPENDENCIES = 'arc, cts_cpu_arm'
JOB_RETRIES = 1
TEST_TYPE = 'server'
TIME = 'MEDIUM'
MAX_RESULT_SIZE_KB = 512000
DOC = 'Run module CtsWidgetTestCases of the Android Compatibility Test Suite for Instant Apps (CTS Instant) using arm 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='arm.CtsWidgetTestCases',
        test_name='cheets_CTS_Instant.arm.CtsWidgetTestCases',
        run_template=['run', 'commandAndExit', 'cts-instant', '--module', 'CtsWidgetTestCases'],
        retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'],
        target_module='CtsWidgetTestCases',
        target_plan=None,
        bundle='arm',
        retry_manual_tests=True,
        warn_on_test_retry=False,
        timeout=3600)

parallel_simple(run_CTS, machines)
