Only tag supported ART run-tests as part of `art-target-run-test`.
All ART (target) run-tests supported at the build-level have been
tagged as part of the `art-target-run-test` TradeFed test suite;
however, only a part of them are actually expected to suceed at run
time at the moment, meaning that many tests are currently failing on
the postsubmit configuration running tests tagged as
`art-target-run-test` (currently running only on crosshatch devices).
To avoid this, use a different test configuration template for test
expected to succeed and for test expected to fail, and only have the
former test configuration template tag the test as part of the
`art-target-run-test` test suite.
Test: atest --test-mapping art:all
Test: Rely on ATP post-submit testing
Bug: 152374989
Bug: 147812905
Change-Id: I29ecc1d3021765cb5467f3a6f4e9d64afc4caead
diff --git a/test/985-re-obsolete/Android.bp b/test/985-re-obsolete/Android.bp
index 9c5380c..c8f73ff 100644
--- a/test/985-re-obsolete/Android.bp
+++ b/test/985-re-obsolete/Android.bp
@@ -6,6 +6,7 @@
java_test {
name: "art-run-test-985-re-obsolete",
defaults: ["art-run-test-defaults"],
+ test_config_template: ":art-run-test-target-no-test-suite-tag-template",
srcs: ["src/**/*.java"],
data: [":art-run-test-985-re-obsolete-expected"],
}