summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2021-10-04 15:05:36 -0700
committerShuzhen Wang <shuzhenwang@google.com>2021-10-29 16:46:06 -0700
commit5888ad8d0dd13c3fd77d03c551eda21bab7d2ce4 (patch)
tree6e00652cb09d4fd6446cd58edab947e9b31846c5
parent3c86f5a030fd0605fd7ca6fb982668776f203e78 (diff)
downloadcuttlefish_prebuilts-5888ad8d0dd13c3fd77d03c551eda21bab7d2ce4.tar.gz
Filter tests that run in presubmit.
Only run CtsOsTestCases tests that are marked @Presubmit and exclude all @FlakyTest and @LargeTest tests. Bug: 201756800 Bug: 203598538 Test: N/A Change-Id: If8f9a725d358285f23334b79320a0292bae38a7c (cherry picked from commit ab931caa7de986db526dfeab3bae229c464d9795)
-rw-r--r--TEST_MAPPING9
1 files changed, 9 insertions, 0 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 6d0c6c6d..54e78af4 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -30,6 +30,15 @@
"name": "CtsOsTestCases",
"options": [
{
+ "include-annotation": "android.platform.test.annotations.Presubmit"
+ },
+ {
+ "exclude-annotation": "android.platform.test.annotations.LargeTest"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ },
+ {
"exclude-filter": "android.os.cts.BuildTest#testSdkInt"
},
{