diff options
author | 2024-08-30 14:53:51 +0000 | |
---|---|---|
committer | 2024-09-02 14:03:31 +0000 | |
commit | 71257248f155b650d1e5b3a4f60469539fbbd9ff (patch) | |
tree | fee5c8277bc6f1b250680a9e44b4dd591d356667 /media/tests | |
parent | 34eacbbf0590eec300d156afd5eb82fd4b1a81bb (diff) |
Create a new test_module_config entries for TEST_MAPPING options
As part of adding `test_module_config`: go/test-module-config,
we are migrating options from TEST_MAPPING files to Android.bp files.
Several cls have already been submitted, but this is a larger change to
add the test_module_config entries in bulk to reduce churn on the
Android.bp and TEST_MAPPING files.
This topic covers the two of the repos with the most changes needed
(frameworks/base and cts).
The first cls will simply create the entries in the Android.bp file
This is a noop operation until they get used via TEST_MAPPING files.
The process is:
1) Generate new test_module_configs with reasonable names based on
options in TEST_MAPPING files
2) After 1) gets submitted, match the options from Android.bp back to
TEST_MAPPING files and update those TEST_MAPPING files with the
name from the Andriod.bp.
To simplify a little bit, we are also removing adding
"exclude-annotation" androidx.test.filters.FlakyTest and org.junit.Ignore
from the options set in Android.bp since we recently added Flaky
exclusion to all CI test_mapping runs. And junit always ignore @Ignore,
no reason to ask it to.
Test: ci
Change-Id: I3097093d1677a0a5a30c8f4aed7fc96c22c0e84d
Flag: NONE # test rename only
Diffstat (limited to 'media/tests')
-rw-r--r-- | media/tests/AudioPolicyTest/Android.bp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/media/tests/AudioPolicyTest/Android.bp b/media/tests/AudioPolicyTest/Android.bp index 3dc2a0a9fd7c..43b1a355334a 100644 --- a/media/tests/AudioPolicyTest/Android.bp +++ b/media/tests/AudioPolicyTest/Android.bp @@ -24,3 +24,11 @@ android_test { resource_dirs: ["res"], test_suites: ["device-tests"], } + +test_module_config { + name: "audiopolicytest_audiopolicytest_audiopolicydeathtest_Presubmit", + base: "audiopolicytest", + test_suites: ["device-tests"], + include_filters: ["com.android.audiopolicytest.AudioPolicyDeathTest"], + include_annotations: ["android.platform.test.annotations.Presubmit"], +} |