1# Copyright 2018 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# This file has been automatically generated. Do not edit!
6
7AUTHOR = 'ARC++ Team'
8NAME = 'cheets_CTS_P.x86.CtsUsageStatsTestCases'
9ATTRIBUTES = 'suite:cts_P, suite:cts'
10DEPENDENCIES = 'arc, cts_abi_x86'
11JOB_RETRIES = 1
12TEST_TYPE = 'server'
13TIME = 'MEDIUM'
14MAX_RESULT_SIZE_KB = 512000
15PRIORITY = 50
16DOC = 'Run module CtsUsageStatsTestCases of the Android Compatibility Test Suite (CTS) using x86 ABI in the ARC++ container.'
17
18def run_TS(machine):
19    host_list = [hosts.create_host(machine)]
20    job.run_test(
21        'cheets_CTS_P',
22        hosts=host_list,
23        iterations=1,
24        max_retry=10,
25        tag='x86.CtsUsageStatsTestCases',
26        test_name='cheets_CTS_P.x86.CtsUsageStatsTestCases',
27        run_template=['run', 'commandAndExit', 'cts', '--module', 'CtsUsageStatsTestCases'],
28        retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'],
29        target_module='CtsUsageStatsTestCases',
30        target_plan=None,
31        bundle='x86',
32        precondition_commands=['/usr/local/autotest/cros/scripts/wifi connect %s %s' % (ssid, wifipass), '/usr/local/autotest/cros/scripts/reorder-services-moblab.sh wifi'],
33        retry_manual_tests=True,
34        warn_on_test_retry=False,
35        timeout=3600)
36
37parallel_simple(run_TS, machines)
38