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.9.0_r14.x86.CtsMediaTestCases'
9ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-unibuild, suite:vmtest-informational2'
10DEPENDENCIES = 'arc, cts_abi_x86'
11JOB_RETRIES = 1
12TEST_TYPE = 'server'
13TIME = 'LONG'
14MAX_RESULT_SIZE_KB = 512000
15DOC = 'Run module CtsMediaTestCases of the Android Compatibility Test Suite (CTS) using x86 ABI in the ARC++ container.'
16
17def run_TS(machine):
18    host_list = [hosts.create_host(machine)]
19    job.run_test(
20        'cheets_CTS_P',
21        hosts=host_list,
22        iterations=1,
23        needs_push_media=True,
24        tag='9.0_r14.x86.CtsMediaTestCases',
25        test_name='cheets_CTS_P.9.0_r14.x86.CtsMediaTestCases',
26        run_template=['run', 'commandAndExit', 'cts', '--module', 'CtsMediaTestCases', '--logcat-on-failure'],
27        retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'],
28        target_module='CtsMediaTestCases',
29        target_plan=None,
30        bundle='x86',
31        uri='gs://chromeos-arc-images/cts/bundle/P/android-cts-9.0_r14-linux_x86-x86.zip',
32        login_precondition_commands=['lsblk -do NAME,RM | sed -n s/1$//p | xargs -n1 eject'],
33        timeout=36000)
34
35parallel_simple(run_TS, machines)
36