diff options
| author | 2023-05-30 15:08:55 +0000 | |
|---|---|---|
| committer | 2023-05-31 14:34:25 +0000 | |
| commit | c0a8e3afb7e913c40594fc5dfdf68f773706134b (patch) | |
| tree | d0f9ae919182ed0aab69935ffd8a01610f801385 | |
| parent | f4f331d65a2ddc8b3d1c9aa9540a14b7893c63fe (diff) | |
Add new sysui-silver mapping
To run non-platinum tests
Bug: 274926647
Bug: 284969885
Test: Forrest
Change-Id: I368887b545f79962f1b0bb9c620b3174f8a02823
| -rw-r--r-- | packages/SystemUI/TEST_MAPPING | 58 |
1 files changed, 41 insertions, 17 deletions
diff --git a/packages/SystemUI/TEST_MAPPING b/packages/SystemUI/TEST_MAPPING index aee829dbf868..01e6bf00a664 100644 --- a/packages/SystemUI/TEST_MAPPING +++ b/packages/SystemUI/TEST_MAPPING @@ -1,6 +1,22 @@ { - // Looking for unit test presubmit configuration? - // This currently lives in ATP config apct/system_ui/unit_test + // Curious where your @Scenario tests will run? + // + // @Ignore: Will not run in any configuration + // + // @FlakyTest: Tests that don't block pre/postsubmit but are staged to run known failures + // + // @Postsubmit: Runs in platinum suite and blocks droidfood in postsubmit + // + // @PlatinumTest: As of May, 2023, running in postsubmit. Set to run in presubmit as part of + // v2/android-platinum/suite-test-mapping-platinum-sysui + // Please DO NOT annotate new or old tests with @PlatinumTest annotation without discussing + // with mdb:android-platinum + // + // As of May, 2023, If you don't use @Postsubmit, your new test will immediately + // block presubmit, which is probably NOT what you want. This will change effectively once + // we move to @PlatinumTest annotation. + + // v2/sysui/test-mapping-presubmit-sysui_cloud-tf "presubmit-sysui": [ { "name": "PlatformScenarioTests", @@ -23,6 +39,7 @@ ] } ], + // v2/android-virtual-infra/test_mapping/presubmit-avd "presubmit": [ { "name": "SystemUIGoogleTests", @@ -75,21 +92,6 @@ ] } ], - - // Curious where your @Scenario tests will run? - // - // @Ignore: nowhere - // @FlakyTest: in staged-postsubmit, but not blocking postsubmit or - // presubmit - // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit - // none of the above: in presubmit, postsubmit, and staged-postsubmit - // - // Ideally, please annotate new tests with @FlakyTest, then with @Postsubmit - // once they're ready for postsubmit as they will immediately block go/android-platinum, - // then with neither once they're ready for presubmit. - // - // If you don't use @Postsubmit, your new test will immediately - // block presubmit, which is probably not what you want! "auto-end-to-end-postsubmit": [ { "name": "AndroidAutomotiveHomeTests", @@ -107,5 +109,27 @@ } ] } + ], + "silver-sysui": [ + { + "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": "android.platform.test.annotations.PlatinumTest" + }, + { + "exclude-annotation": "android.platform.test.annotations.FlakyTest" + } + ] + } ] } |