blob: 828cd9cd4a74d3441035e1bee30905345ad027b2 [file] [log] [blame] [edit]
#!/usr/bin/env python2
# Copyright 2020 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.
import collections
CONFIG = {}
CONFIG['TEST_NAME'] = 'cheets_CTS_R'
CONFIG['DOC_TITLE'] = 'Android Compatibility Test Suite (CTS)'
CONFIG['MOBLAB_SUITE_NAME'] = 'suite:cts'
CONFIG['COPYRIGHT_YEAR'] = 2020
CONFIG['AUTHKEY'] = ''
# Both arm, x86 tests results normally is below 200MB.
# 1000MB should be sufficient for CTS tests and dump logs for android-cts.
CONFIG['LARGE_MAX_RESULT_SIZE'] = 1000 * 1024
# Individual module normal produces less results than all modules, which is
# ranging from 4MB to 50MB. 500MB should be sufficient to handle all the cases.
CONFIG['NORMAL_MAX_RESULT_SIZE'] = 500 * 1024
CONFIG['TRADEFED_CTS_COMMAND'] = 'cts'
CONFIG['TRADEFED_RETRY_COMMAND'] = 'retry'
CONFIG['TRADEFED_DISABLE_REBOOT'] = False
CONFIG['TRADEFED_DISABLE_REBOOT_ON_COLLECTION'] = True
CONFIG['TRADEFED_MAY_SKIP_DEVICE_INFO'] = False
CONFIG['TRADEFED_EXECUTABLE_PATH'] = 'android-cts/tools/cts-tradefed'
CONFIG['TRADEFED_IGNORE_BUSINESS_LOGIC_FAILURE'] = False
# On moblab everything runs in the same suite.
CONFIG['INTERNAL_SUITE_NAMES'] = ['suite:arc-cts-r']
CONFIG['QUAL_SUITE_NAMES'] = []
CONFIG['CONTROLFILE_TEST_FUNCTION_NAME'] = 'run_TS'
CONFIG['CONTROLFILE_WRITE_SIMPLE_QUAL_AND_REGRESS'] = False
CONFIG['CONTROLFILE_WRITE_CAMERA'] = False
CONFIG['CONTROLFILE_WRITE_EXTRA'] = True
# The dashboard suppresses upload to APFE for GS directories (based on autotest
# tag) that contain 'tradefed-run-collect-tests'. b/119640440
# Do not change the name/tag without adjusting the dashboard.
_COLLECT = 'tradefed-run-collect-tests-only-internal'
_PUBLIC_COLLECT = 'tradefed-run-collect-tests-only'
CONFIG['LAB_DEPENDENCY'] = {'x86': ['cts_abi_x86']}
CONFIG['CTS_JOB_RETRIES_IN_PUBLIC'] = 1
CONFIG['CTS_QUAL_RETRIES'] = 9
CONFIG['CTS_MAX_RETRIES'] = {}
# Timeout in hours.
CONFIG['CTS_TIMEOUT_DEFAULT'] = 1.0
CONFIG['CTS_TIMEOUT'] = {
'CtsAutoFillServiceTestCases': 2.5, # TODO(b/134662826)
'CtsDeqpTestCases': 30.0,
'CtsDeqpTestCases.dEQP-EGL': 2.0,
'CtsDeqpTestCases.dEQP-GLES2': 2.0,
'CtsDeqpTestCases.dEQP-GLES3': 6.0,
'CtsDeqpTestCases.dEQP-GLES31': 6.0,
'CtsDeqpTestCases.dEQP-VK': 15.0,
'CtsFileSystemTestCases': 3.0,
'CtsHardwareTestCases': 2.0,
'CtsIcuTestCases': 2.0,
'CtsLibcoreOjTestCases': 2.0,
'CtsMediaStressTestCases': 5.0,
'CtsMediaTestCases': 10.0,
'CtsNNAPIBenchmarkTestCases': 2.0,
'CtsPrintTestCases': 1.5,
'CtsSecurityTestCases': 20.0,
'CtsSecurityTestCases[instant]': 20.0,
'CtsSensorTestCases': 2.0,
'CtsStatsdHostTestCases': 2.0,
'CtsVideoTestCases': 1.5,
'CtsWidgetTestCases': 2.0,
_COLLECT: 2.5,
_PUBLIC_COLLECT: 2.5,
}
# Any test that runs as part as blocking BVT needs to be stable and fast. For
# this reason we enforce a tight timeout on these modules/jobs.
# Timeout in hours. (0.1h = 6 minutes)
CONFIG['BVT_TIMEOUT'] = 0.1
# We allow a very long runtime for qualification (2 days).
CONFIG['QUAL_TIMEOUT'] = 48
CONFIG['QUAL_BOOKMARKS'] = sorted([])
CONFIG['SMOKE'] = []
CONFIG['BVT_ARC'] = []
CONFIG['BVT_PERBUILD'] = [
'CtsAccelerationTestCases',
'CtsMidiTestCases',
]
CONFIG['NEEDS_POWER_CYCLE'] = []
CONFIG['HARDWARE_DEPENDENT_MODULES'] = []
# The suite is divided based on the run-time hint in the *.config file.
CONFIG['VMTEST_INFO_SUITES'] = collections.OrderedDict()
# Modules that are known to download and/or push media file assets.
CONFIG['MEDIA_MODULES'] = [
'CtsMediaTestCases',
'CtsMediaStressTestCases',
'CtsMediaBitstreamsTestCases',
]
CONFIG['NEEDS_PUSH_MEDIA'] = CONFIG['MEDIA_MODULES'] + [
'CtsMediaTestCases.audio',
]
# Modules that are known to need the default apps of Chrome (eg. Files.app).
CONFIG['ENABLE_DEFAULT_APPS'] = [
'CtsAppSecurityHostTestCases',
'CtsContentTestCases',
]
# Run `eject` for (and only for) each device with RM=1 in lsblk output.
_EJECT_REMOVABLE_DISK_COMMAND = (
"\'lsblk -do NAME,RM | sed -n s/1$//p | xargs -n1 eject\'")
_WIFI_CONNECT_COMMANDS = [
# These needs to be in order.
"'/usr/local/autotest/cros/scripts/wifi connect %s %s\' % (ssid, wifipass)",
"'/usr/local/autotest/cros/scripts/reorder-services-moblab.sh wifi'"
]
# Preconditions applicable to public and internal tests.
CONFIG['PRECONDITION'] = {}
CONFIG['LOGIN_PRECONDITION'] = {}
# Preconditions applicable to public tests.
CONFIG['PUBLIC_PRECONDITION'] = {
'CtsHostsideNetworkTests': _WIFI_CONNECT_COMMANDS,
'CtsLibcoreTestCases': _WIFI_CONNECT_COMMANDS,
'CtsNetTestCases': _WIFI_CONNECT_COMMANDS,
'CtsJobSchedulerTestCases': _WIFI_CONNECT_COMMANDS,
'CtsUsageStatsTestCases': _WIFI_CONNECT_COMMANDS,
'CtsStatsdHostTestCases': _WIFI_CONNECT_COMMANDS,
}
CONFIG['PUBLIC_DEPENDENCIES'] = {
'CtsCameraTestCases': ['lighting'],
'CtsMediaTestCases': ['noloopback'],
}
CONFIG['PUBLIC_OVERRIDE_TEST_PRIORITY'] = {
_PUBLIC_COLLECT: 70,
'CtsDeqpTestCases': 70,
'CtsDeqpTestCases': 70,
'CtsMediaTestCases': 70,
'CtsMediaStressTestCases': 70,
'CtsSecurityTestCases': 70,
'CtsCameraTestCases': 70
}
# This information is changed based on regular analysis of the failure rate on
# partner moblabs.
CONFIG['PUBLIC_MODULE_RETRY_COUNT'] = {}
# This information is changed based on regular analysis of the job run time on
# partner moblabs.
CONFIG['OVERRIDE_TEST_LENGTH'] = {
'CtsDeqpTestCases': 4, # LONG
'CtsMediaTestCases': 4,
'CtsMediaStressTestCases': 4,
'CtsSecurityTestCases': 4,
'CtsCameraTestCases': 4,
# Even though collect tests doesn't run very long, it must be the very first
# job executed inside of the suite. Hence it is the only 'LENGTHY' test.
_COLLECT: 5, # LENGTHY
_PUBLIC_COLLECT: 5, # LENGTHY
}
# Enabling --logcat-on-failure can extend total run time significantly if
# individual tests finish in the order of 10ms or less (b/118836700). Specify
# modules here to not enable the flag.
CONFIG['DISABLE_LOGCAT_ON_FAILURE'] = set([
'all',
'CtsDeqpTestCases',
'CtsDeqpTestCases.dEQP-EGL',
'CtsDeqpTestCases.dEQP-GLES2',
'CtsDeqpTestCases.dEQP-GLES3',
'CtsDeqpTestCases.dEQP-GLES31',
'CtsDeqpTestCases.dEQP-VK',
'CtsLibcoreTestCases',
])
CONFIG['EXTRA_MODULES'] = {
'CtsDeqpTestCases': {
'SUBMODULES':
set([
'CtsDeqpTestCases.dEQP-EGL',
'CtsDeqpTestCases.dEQP-GLES2',
'CtsDeqpTestCases.dEQP-GLES3',
'CtsDeqpTestCases.dEQP-GLES31',
'CtsDeqpTestCases.dEQP-VK'
]),
'SUITES': ['suite:arc-cts-r'],
},
'CtsMediaTestCases': {
'SUBMODULES': set([
'CtsMediaTestCases.audio',
]),
'SUITES': ['suite:arc-cts-r'],
},
'CtsWindowManagerDeviceTestCases': {
'SUBMODULES': set([
'CtsWindowManager.A',
'CtsWindowManager.C',
'CtsWindowManager.D',
'CtsWindowManager.Ensure',
'CtsWindowManager.F',
'CtsWindowManager.L',
'CtsWindowManager.M',
'CtsWindowManager.Override',
'CtsWindowManager.P',
'CtsWindowManager.R',
'CtsWindowManager.S',
'CtsWindowManager.T',
'CtsWindowManager.Window',
'CtsWindowManager.intent',
'CtsWindowManager.lifecycle',
]),
'SUITES': ['suite:arc-cts-r'],
},
}
# Moblab optionally can reshard modules, this was originally used
# for deqp but it is no longer required for that module. Retaining
# feature in case future slower module needs to be sharded.
CONFIG['PUBLIC_EXTRA_MODULES'] = {}
# TODO(haddowk,kinaba): Hack for b/138622686. Clean up later.
CONFIG['EXTRA_SUBMODULE_OVERRIDE'] = {
'x86': {
'CtsDeqpTestCases.dEQP-VK.subgroups.arithmetic': [
'CtsDeqpTestCases.dEQP-VK.subgroups.arithmetic.32',
'CtsDeqpTestCases.dEQP-VK.subgroups.arithmetic.64',
]
}
}
CONFIG['EXTRA_COMMANDLINE'] = {
'CtsDeqpTestCases.dEQP-EGL': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-EGL.*'
],
'CtsDeqpTestCases.dEQP-GLES2': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-GLES2.*'
],
'CtsDeqpTestCases.dEQP-GLES3': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-GLES3.*'
],
'CtsDeqpTestCases.dEQP-GLES31': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-GLES31.*'
],
'CtsDeqpTestCases.dEQP-VK': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.*'
],
'CtsDeqpTestCases.dEQP-VK.api': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.api.*'
],
'CtsDeqpTestCases.dEQP-VK.binding_model': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.binding_model.*'
],
'CtsDeqpTestCases.dEQP-VK.clipping': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.clipping.*'
],
'CtsDeqpTestCases.dEQP-VK.compute': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.compute.*'
],
'CtsDeqpTestCases.dEQP-VK.device_group': [
'--include-filter',
'CtsDeqpTestCases',
'--module',
'CtsDeqpTestCases',
'--test',
'dEQP-VK.device_group*' # Not ending on .* like most others!
],
'CtsDeqpTestCases.dEQP-VK.draw': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.draw.*'
],
'CtsDeqpTestCases.dEQP-VK.dynamic_state': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.dynamic_state.*'
],
'CtsDeqpTestCases.dEQP-VK.fragment_operations': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.fragment_operations.*'
],
'CtsDeqpTestCases.dEQP-VK.geometry': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.geometry.*'
],
'CtsDeqpTestCases.dEQP-VK.glsl': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.glsl.*'
],
'CtsDeqpTestCases.dEQP-VK.image': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.image.*'
],
'CtsDeqpTestCases.dEQP-VK.info': [
'--include-filter',
'CtsDeqpTestCases',
'--module',
'CtsDeqpTestCases',
'--test',
'dEQP-VK.info*' # Not ending on .* like most others!
],
'CtsDeqpTestCases.dEQP-VK.memory': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.memory.*'
],
'CtsDeqpTestCases.dEQP-VK.multiview': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.multiview.*'
],
'CtsDeqpTestCases.dEQP-VK.pipeline': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.pipeline.*'
],
'CtsDeqpTestCases.dEQP-VK.protected_memory': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.protected_memory.*'
],
'CtsDeqpTestCases.dEQP-VK.query_pool': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.query_pool.*'
],
'CtsDeqpTestCases.dEQP-VK.rasterization': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.rasterization.*'
],
'CtsDeqpTestCases.dEQP-VK.renderpass': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.renderpass.*'
],
'CtsDeqpTestCases.dEQP-VK.renderpass2': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.renderpass2.*'
],
'CtsDeqpTestCases.dEQP-VK.robustness': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.robustness.*'
],
'CtsDeqpTestCases.dEQP-VK.sparse_resources': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.sparse_resources.*'
],
'CtsDeqpTestCases.dEQP-VK.spirv_assembly': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.spirv_assembly.*'
],
'CtsDeqpTestCases.dEQP-VK.ssbo': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.ssbo.*'
],
'CtsDeqpTestCases.dEQP-VK.subgroups': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.*'
],
# Splitting VK.subgroups to smaller pieces to workaround b/138622686.
# TODO(kinaba,haddowk): remove them once the root cause is fixed, or
# reconsider the sharding strategy.
'CtsDeqpTestCases.dEQP-VK.subgroups.b': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.b*'
],
'CtsDeqpTestCases.dEQP-VK.subgroups.s': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.s*'
],
'CtsDeqpTestCases.dEQP-VK.subgroups.vote': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.vote#*'
],
'CtsDeqpTestCases.dEQP-VK.subgroups.arithmetic': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.arithmetic#*'
],
# TODO(haddowk,kinaba): Hack for b/138622686. Clean up later.
'CtsDeqpTestCases.dEQP-VK.subgroups.arithmetic.32': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.arithmetic#*',
'--abi', 'x86'
],
# TODO(haddowk,kinaba): Hack for b/138622686. Clean up later.
'CtsDeqpTestCases.dEQP-VK.subgroups.arithmetic.64': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.arithmetic#*',
'--abi', 'x86_64'
],
'CtsDeqpTestCases.dEQP-VK.subgroups.clustered': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.clustered#*'
],
'CtsDeqpTestCases.dEQP-VK.subgroups.quad': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.subgroups.quad#*'
],
'CtsDeqpTestCases.dEQP-VK.synchronization': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.synchronization.*'
],
'CtsDeqpTestCases.dEQP-VK.tessellation': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.tessellation.*'
],
'CtsDeqpTestCases.dEQP-VK.texture': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.texture.*'
],
'CtsDeqpTestCases.dEQP-VK.ubo': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.ubo.*'
],
'CtsDeqpTestCases.dEQP-VK.wsi': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.wsi.*'
],
'CtsDeqpTestCases.dEQP-VK.ycbcr': [
'--include-filter', 'CtsDeqpTestCases', '--module',
'CtsDeqpTestCases', '--test', 'dEQP-VK.ycbcr.*'
],
'CtsMediaTestCases.audio': [
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioAttributesTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioEffectTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioAttributesTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioEffectTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioFocusTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioFormatTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioManagerTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioMetadataTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioNativeTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioPlayRoutingNative',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioPlaybackCaptureTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioPlaybackConfigurationTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioPreProcessingTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioPresentationTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioRecordAppOpTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioRecordRoutingNative',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioRecordTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioRecord_BufferSizeTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioRecordingConfigurationTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioSystemTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioSystemUsageTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioTrackLatencyTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioTrackOffloadTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioTrackSurroundTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioTrackTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.AudioTrack_ListenerTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.SoundPoolAacTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.SoundPoolHapticTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.SoundPoolMidiTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.SoundPoolOggTest',
'--include-filter',
'CtsMediaTestCases android.media.cts.VolumeShaperTest',
],
'CtsWindowManager.A': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ActivityManagerGetConfigTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ActivityMetricsLoggerTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ActivityTaskAffinityTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ActivityTransitionTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ActivityViewTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ActivityVisibilityTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AddWindowAsUserTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AlertWindowsAppOpsTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AlertWindowsImportanceTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AlertWindowsTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AmProfileTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AmStartOptionsTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AnrTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AppConfigurationTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AspectRatioTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.AssistantStackTests',
],
'CtsWindowManager.C': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.CloseOnOutsideTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ConfigChangeTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.CrossAppDragAndDropTests',
],
'CtsWindowManager.D': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DecorInsetTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DeprecatedTargetSdkTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DialogFrameTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DisplayCutoutTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DisplaySizeTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DisplayTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DragDropTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.DreamManagerServiceTests',
],
'CtsWindowManager.Ensure': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.EnsureBarContrastTest',
],
'CtsWindowManager.F': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ForceRelayoutTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.FreeformWindowingModeTests',
],
'CtsWindowManager.L': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.LayoutTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.LocationInWindowTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.LocationOnScreenTests',
],
'CtsWindowManager.M': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ManifestLayoutTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MinimalPostProcessingTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplayActivityLaunchTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplayClientTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplayKeyguardTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplayLockedKeyguardTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplayPolicyTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplayPrivateDisplayTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplaySecurityTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.MultiDisplaySystemDecorationTests',
],
'CtsWindowManager.Override': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.OverrideConfigTests',
],
'CtsWindowManager.P': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.PinnedStackTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.PrereleaseSdkTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.PresentationTest',
],
'CtsWindowManager.R': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ReplaceWindowTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.RobustnessTests',
],
'CtsWindowManager.S': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.SplashscreenTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.SplitScreenTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.StartActivityAsUserTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.StartActivityTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.SurfaceControlTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.SurfaceControlViewHostTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.SurfaceViewSurfaceValidatorTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.SurfaceViewTest',
],
'CtsWindowManager.T': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.ToastWindowTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.TransitionSelectionTests',
],
'CtsWindowManager.Window': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowContextPolicyTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowContextTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowFocusTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInputTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsAnimationCallbackTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsAnimationControllerTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsAnimationImeTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsAnimationSynchronicityTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsAnimationTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsControllerTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsLayoutTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsPolicyTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowInsetsTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowManager_BadTokenExceptionTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowManager_LayoutParamsTest',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowMetricsTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.WindowTest',
],
'CtsWindowManager.intent': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.intent.IntentGenerationTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.intent.IntentTests',
],
'CtsWindowManager.lifecycle': [
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityLifecycleFreeformTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityLifecycleKeyguardTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityLifecyclePipTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityLifecycleSplitScreenTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityLifecycleTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityLifecycleTopResumedStateTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityStarterTests',
'--include-filter',
'CtsWindowManagerDeviceTestCases android.server.wm.lifecycle.ActivityTests',
],
}
CONFIG['EXTRA_ATTRIBUTES'] = {}
CONFIG['EXTRA_ARTIFACTS'] = {}
CONFIG['PREREQUISITES'] = {}
CONFIG['USE_JDK9'] = True
from generate_controlfiles_common import main
if __name__ == '__main__':
main(CONFIG)