• 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.9.0_dev.arm.waivers'
9ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-qual'
10DEPENDENCIES = 'arc, cts_cpu_arm'
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 arm 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        tag='9.0_dev.arm.waivers',
24        test_name='cheets_CTS_Instant.9.0_dev.arm.waivers',
25        run_template=['run', 'commandAndExit', 'cts-instant',
26            # HACK. What we really want is including the following two cases.
27            #   android.media.cts.AudioTrackTest#testPlayStaticData
28            #   android.media.cts.MediaCodecListTest#testRequiredMediaCodecList
29            # Since cts-instant does not support --include-filter, roughly
30            # approximate by --module and --exclude of a few expensive classes
31            # (taking 15 out of 20 minutes of CtsMediaTestCases.)
32            '--module', 'CtsMediaTestCases',
33            '--exclude-filter', 'CtsMediaTestCases android.media.cts.AudioNativeTest',
34            '--exclude-filter', 'CtsMediaTestCases android.media.cts.AudioRecordTest',
35            '--exclude-filter', 'CtsMediaTestCases android.media.cts.EncodeVirtualDisplayWithCompositionTest',
36            '--exclude-filter', 'CtsMediaTestCases android.media.cts.EncoderTest',
37            '--exclude-filter', 'CtsMediaTestCases android.media.cts.MediaDrmClearkeyTest',
38        ],
39        retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'],
40        target_module='cts-instant-dev',
41        target_plan=None,
42        load_waivers=False,
43        bundle='arm',
44        uri='gs://chromeos-arc-images/cts/bundle/P/android-cts_instant-6862722-linux_x86-arm.zip',
45        timeout=3600)
46
47parallel_simple(run_TS, machines)
48