# 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.CtsLocationTestCases'
ATTRIBUTES = 'suite:cts_N'
DEPENDENCIES = 'arc'
JOB_RETRIES = 2
TEST_TYPE = 'server'
TIME = 'LENGTHY'

DOC = ('Run module CtsLocationTestCases of the '
       'Android 7.1_r4 Compatibility Test Suite (CTS), build 3866195,'
       'using arm ABI in the ARC++ container.')

def run_CTS(machine):
    host = hosts.create_host(machine)
    job.run_test(
        'cheets_CTS_N',
        host=host,
        iterations=1,
        max_retry=3,
        needs_push_media=False,
        tag='CtsLocationTestCases',
        target_module='CtsLocationTestCases',
        bundle='arm',
        timeout=3600)

parallel_simple(run_CTS, machines)