| # 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.CtsFileSystemTestCases' |
| ATTRIBUTES = 'suite:cts_N' |
| DEPENDENCIES = 'arc, cts_abi_x86' |
| JOB_RETRIES = 2 |
| TEST_TYPE = 'server' |
| TIME = 'LENGTHY' |
| |
| DOC = ('Run module CtsFileSystemTestCases of the ' |
| 'Android 7.1_r10 Compatibility Test Suite (CTS), build 4372030,' |
| 'using x86 ABI in the ARC++ container.') |
| |
| from autotest_lib.server.cros.dynamic_suite import constants as ds_constants |
| |
| def run_CTS(machine): |
| host = hosts.create_host(machine) |
| board = host.get_board().replace(ds_constants.BOARD_PREFIX, '') |
| precondition_commands = [] |
| if board in ['sand']: |
| precondition_commands.append('echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle') |
| job.run_test( |
| 'cheets_CTS_N', |
| host=host, |
| iterations=1, |
| max_retry=3, |
| needs_push_media=False, |
| tag='CtsFileSystemTestCases', |
| target_module='CtsFileSystemTestCases', |
| bundle='x86', |
| precondition_commands=precondition_commands, |
| warn_on_test_retry=False, |
| timeout=9000) |
| |
| parallel_simple(run_CTS, machines) |