• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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'
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_CTS(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        needs_push_media=False,
26        tag='x86.CtsUsageStatsTestCases',
27        test_name='cheets_CTS_P.x86.CtsUsageStatsTestCases',
28        run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsUsageStatsTestCases'],
29        retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'],
30        target_module='CtsUsageStatsTestCases',
31        target_plan=None,
32        bundle='x86',
33        precondition_commands=[
34    '/usr/local/autotest/cros/scripts/wifi connect %s %s' % (ssid, wifipass),
35    '/usr/local/autotest/cros/scripts/reorder-services-moblab.sh wifi'
36],
37        retry_manual_tests=True,
38        warn_on_test_retry=False,
39        timeout=3600)
40
41parallel_simple(run_CTS, machines)
42