Move 5% of ART run-tests to the `presubmit` test group in `TEST_MAPPING`.
Move a few more ART run-tests from the `postsubmit` test group to the
`presubmit` test group. This progressive rollout is to make sure
introducing ART run-tests to this test group won't disturb/break
Android presubmits.
Test: atest --test-mapping art:presubmit
Test: atest --test-mapping art:postsubmit
Bug: 152374989
Bug: 169310621
Change-Id: Ib0d5a69178481049dccad3a1a3b2e3389bd3ddc0
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 8fa3634..2ee8581 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -17,10 +17,7 @@
},
{
"name": "art-run-test-001-Main"
- }
- ],
- "postsubmit": [
- // ART run-tests.
+ },
{
"name": "art-run-test-002-sleep"
},
@@ -50,7 +47,10 @@
},
{
"name": "art-run-test-014-math3"
- },
+ }
+ ],
+ "postsubmit": [
+ // ART run-tests.
{
"name": "art-run-test-015-switch"
},
diff --git a/test/utils/regen-test-files b/test/utils/regen-test-files
index d1924a5..1613bc5 100755
--- a/test/utils/regen-test-files
+++ b/test/utils/regen-test-files
@@ -280,7 +280,7 @@
# the `presubmit` test group in `TEST_MAPPING` file -- the rest will be included
# in `postsubmit` test group.
# Currently, this value has to be a number between 1 and 99.
-presubmit_tests_percentage=1
+presubmit_tests_percentage=5
cd "$ANDROID_BUILD_TOP/art"