Add sysui scenario tests to presubmit for health/rules.
Bug: 377325914
Change-Id: I3d1eed7963b07cf92d22aef23a2d5b736b9025b2
Test: presubmit
Flag: TEST_ONLY
diff --git a/libraries/health/rules/TEST_MAPPING b/libraries/health/rules/TEST_MAPPING
index 36fd995..899ce61 100644
--- a/libraries/health/rules/TEST_MAPPING
+++ b/libraries/health/rules/TEST_MAPPING
@@ -6,5 +6,28 @@
{
"path": "frameworks/base"
}
+ ],
+
+ // To make sure health/rules do not break sysui tests.
+ // Copied from the internal "sysui-e2e-postsumit" test mapping group.
+ // Once stable, this will be promoted to presubmit.
+ "postsubmit": [
+ {
+ "name": "PlatformScenarioTests",
+ "options": [
+ {
+ "include-filter": "android.platform.test.scenario.sysui"
+ },
+ {
+ "include-annotation": "android.platform.test.scenario.annotation.Scenario"
+ },
+ {
+ "exclude-annotation": "org.junit.Ignore"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ }
+ ]
+ }
]
-}
+}
\ No newline at end of file