From 4258f9e2f19016e04a71ec2b5349b707f8f47a18 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Tue, 13 Oct 2020 12:10:59 +0100 Subject: 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 --- test/641-checker-arraycopy/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'test/641-checker-arraycopy') diff --git a/test/641-checker-arraycopy/Android.bp b/test/641-checker-arraycopy/Android.bp index ff4accbfc0..600fbcf4a9 100644 --- a/test/641-checker-arraycopy/Android.bp +++ b/test/641-checker-arraycopy/Android.bp @@ -6,6 +6,7 @@ java_test { name: "art-run-test-641-checker-arraycopy", defaults: ["art-run-test-defaults"], + test_config_template: ":art-run-test-target-no-test-suite-tag-template", srcs: ["src/**/*.java"], data: [":art-run-test-641-checker-arraycopy-expected"], // Include the Java source files in the test's artifacts, to make Checker assertions -- cgit v1.2.3-59-g8ed1b