• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2020 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_Instant.x86.waivers-collect-tests-only'
9ATTRIBUTES = 'suite:cts_P, suite:cts'
10DEPENDENCIES = 'arc, cts_cpu_x86'
11JOB_RETRIES = 1
12TEST_TYPE = 'server'
13TIME = 'MEDIUM'
14MAX_RESULT_SIZE_KB = 512000
15DOC = 'Run preview version of the Android Compatibility Test Suite for Instant Apps (CTS Instant) 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_Instant',
21        hosts=host_list,
22        iterations=1,
23        max_retry=0,
24        tag='x86.waivers-collect-tests-only',
25        test_name='cheets_CTS_Instant.x86.waivers-collect-tests-only',
26        run_template=['run', 'commandAndExit', 'collect-tests-only',
27            # HACK. What we really want is including the following two cases.
28            #   android.media.cts.AudioTrackTest#testPlayStaticData
29            #   android.media.cts.MediaCodecListTest#testRequiredMediaCodecList
30            # Since cts-instant does not support --include-filter, roughly
31            # approximate by --module and --exclude of a few expensive classes
32            # (taking 15 out of 20 minutes of CtsMediaTestCases.)
33            '--module', 'CtsMediaTestCases',
34            '--exclude-filter', 'CtsMediaTestCases android.media.cts.AudioNativeTest',
35            '--exclude-filter', 'CtsMediaTestCases android.media.cts.AudioRecordTest',
36            '--exclude-filter', 'CtsMediaTestCases android.media.cts.EncodeVirtualDisplayWithCompositionTest',
37            '--exclude-filter', 'CtsMediaTestCases android.media.cts.EncoderTest',
38            '--exclude-filter', 'CtsMediaTestCases android.media.cts.MediaDrmClearkeyTest',
39        ],
40        retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'],
41        target_module='cts-instant-dev',
42        target_plan=None,
43        load_waivers=False,
44        bundle='x86',
45        uri='gs://chromeos-partner-gts/android-cts_instant-6862722-linux_x86-x86.zip',
46        retry_manual_tests=True,
47        warn_on_test_retry=False,
48        timeout=3600)
49
50parallel_simple(run_TS, machines)
51