blob: 8e1ee2bda67fcd8e17876cd9f3d5631df5a2e8ca [file] [log] [blame]
# 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.x86.CtsUsageStatsTestCases'
ATTRIBUTES = 'suite:cts_N'
DEPENDENCIES = 'arc, cts_abi_x86'
JOB_RETRIES = 2
TEST_TYPE = 'server'
TIME = 'MEDIUM'
MAX_RESULT_SIZE_KB = 307200
PRIORITY = 50
DOC = 'Run module CtsUsageStatsTestCases of the Android Compatibility Test Suite (CTS) using x86 ABI in the ARC++ container.'
def run_CTS(machine):
host_list = [hosts.create_host(machine)]
job.run_test(
'cheets_CTS_N',
hosts=host_list,
iterations=1,
max_retry=10,
needs_push_media=False,
tag='CtsUsageStatsTestCases',
test_name='cheets_CTS_N.x86.CtsUsageStatsTestCases',
run_template=['run', 'commandAndExit', 'cts', '--module', 'CtsUsageStatsTestCases', '--precondition-arg', 'skip-media-download', '--disable-reboot', '--logcat-on-failure', '--skip-device-info'],
retry_template=['run', 'commandAndExit', 'cts', '--module', 'CtsUsageStatsTestCases', '--precondition-arg', 'skip-media-download', '--disable-reboot', '--logcat-on-failure', '--skip-device-info', '--retry', '{session_id}'],
target_module='CtsUsageStatsTestCases',
target_plan=None,
bundle='x86',
warn_on_test_retry=False,
retry_manual_tests=True,
precondition_commands=[
'/usr/local/autotest/cros/scripts/wifi connect %s %s' % (ssid, wifipass),
'/usr/local/autotest/cros/scripts/reorder-services-moblab.sh wifi',
],
timeout=3600)
parallel_simple(run_CTS, machines)