• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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_N.x86.CtsNetTestCases'
9ATTRIBUTES = 'suite:cts_N'
10DEPENDENCIES = 'arc, cts_abi_x86'
11JOB_RETRIES = 2
12TEST_TYPE = 'server'
13TIME = 'MEDIUM'
14MAX_RESULT_SIZE_KB = 307200
15PRIORITY = 50
16DOC = 'Run module CtsNetTestCases 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_N',
22        hosts=host_list,
23        iterations=1,
24        max_retry=10,
25        needs_push_media=False,
26        tag='x86.CtsNetTestCases',
27        test_name='cheets_CTS_N.x86.CtsNetTestCases',
28        run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsNetTestCases', '--disable-reboot', '--skip-device-info'],
29        retry_template=['run', 'commandAndExit', 'cts', '--disable-reboot', '--skip-device-info', '--retry', '{session_id}'],
30        target_module='CtsNetTestCases',
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