| # Copyright 2018 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_P.arm.CtsLibcoreTestCases' |
| ATTRIBUTES = 'suite:cts_P' |
| DEPENDENCIES = 'arc' |
| JOB_RETRIES = 1 |
| TEST_TYPE = 'server' |
| TIME = 'MEDIUM' |
| MAX_RESULT_SIZE_KB = 512000 |
| PRIORITY = 50 |
| DOC = 'Run module CtsLibcoreTestCases of the Android Compatibility Test Suite (CTS) using arm ABI in the ARC++ container.' |
| |
| def run_CTS(machine): |
| host_list = [hosts.create_host(machine)] |
| job.run_test( |
| 'cheets_CTS_P', |
| hosts=host_list, |
| iterations=1, |
| needs_push_media=False, |
| tag='arm.CtsLibcoreTestCases', |
| test_name='cheets_CTS_P.arm.CtsLibcoreTestCases', |
| run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsLibcoreTestCases'], |
| retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'], |
| target_module='CtsLibcoreTestCases', |
| target_plan=None, |
| bundle='arm', |
| precondition_commands=['/usr/local/autotest/cros/scripts/wifi connect %s %s' % (ssid, wifipass), '/usr/local/autotest/cros/scripts/reorder-services-moblab.sh wifi', 'ip -o link show | grep "state DOWN" | grep -o "\<\(eth\|mlan\|wlan\|wwan\)[[:digit:]]" | xargs -L1 -I{} ip link delete veth_{}'], |
| retry_manual_tests=True, |
| warn_on_test_retry=False, |
| timeout=3600) |
| |
| parallel_simple(run_CTS, machines) |