diff options
author | James Mattis <jmattis@google.com> | 2021-03-10 09:34:49 -0800 |
---|---|---|
committer | James Mattis <jmattis@google.com> | 2021-03-10 11:00:37 -0800 |
commit | 43c468165a68cf73c34f5b4c841630db5db46924 (patch) | |
tree | c9fbedcf80449cb70cea979c9ffffb711b0d68b8 | |
parent | 90e336819ce160ac7a75633d3160516f25fbe167 (diff) |
Add auto-postsubmit test tag for frameworks/base
Adding a seperate test tag for postsubmit so as to identify which tests
to run for automotive builds.
Bug: 179917339
Test: atest --test-mapping
frameworks/base/TEST_MAPPING:auto-postsubmit
Change-Id: I560bc7bc259093d9ee5c1bfae531539b5155052a
-rw-r--r-- | TEST_MAPPING | 62 |
1 files changed, 61 insertions, 1 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING index 2b12da291acb..4b449ef0bacf 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -57,5 +57,65 @@ { "name": "ManagedProfileLifecycleStressTest" } - ] + ], + "auto-postsubmit": [ + // Test tag for automotive targets. These are only running in postsubmit so as to harden the + // automotive targets to avoid introducing additional test flake and build time. The plan for + // presubmit testing for auto is to augment the existing tests to cover auto use cases as well. + // Additionally, this tag is used in targeted test suites to limit resource usage on the test + // infra during the hardening phase. + // TODO: this tag to be removed once the above is no longer an issue. + { + "name": "FrameworksUiServicesTests", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "ExtServicesUnitTests", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "TestablesTests", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] + }, + { + "name": "FrameworksCoreTests", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "org.junit.Ignore" + } + ] + }, + { + "name": "FrameworksServicesTests", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "org.junit.Ignore" + } + ] + } + ] } |