Promote more ART run-tests to presubmits (2024-02-13).
Promote the following post-submit tests to pre-submit test groups in
ART's Test Mapping file:
* `art-run-test-851-null-instanceof`
* `art-run-test-853-checker-inlining`
* `art-run-test-2266-checker-remove-empty-ifs`
* `art-run-test-2268-checker-remove-dead-phis`
* `art-run-test-2269-checker-constant-folding-instrinsics`
Output of `art/test/utils/regen-test-files`:
$ art/test/utils/regen-test-files
Generated Blueprint files for 731 ART run-tests out of 1024 (71%).
Generated TEST_MAPPING entries for 452 ART run-tests out of 1024 (44%):
450 ART run-tests (99%) in `mainline-presubmit` test group.
450 ART run-tests (99%) in `presubmit` test group.
2 ART run-tests (0%) in `postsubmit` test group.
22 ART gtests (95%) in `mainline-presubmit` test group.
22 ART gtests (95%) in `presubmit` test group.
1 ART gtests (4%) in `presubmit` test group.
Note: Tests in `*presubmit` test groups are executed in pre- and
post-submit test runs. Tests in the `postsubmit` test group
are only executed in post-submit test runs.
Test: atest --test-mapping art:presubmit
Bug: 152374989
Change-Id: I8dfc196570630f74f0607435d5c00972da8bf2e6
diff --git a/TEST_MAPPING b/TEST_MAPPING
index df90769..038aaf9 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -494,6 +494,15 @@
"name": "art-run-test-2265-checker-select-binary-unary[com.google.android.art.apex]"
},
{
+ "name": "art-run-test-2266-checker-remove-empty-ifs[com.google.android.art.apex]"
+ },
+ {
+ "name": "art-run-test-2268-checker-remove-dead-phis[com.google.android.art.apex]"
+ },
+ {
+ "name": "art-run-test-2269-checker-constant-folding-instrinsics[com.google.android.art.apex]"
+ },
+ {
"name": "art-run-test-300-package-override[com.google.android.art.apex]"
},
{
@@ -1328,6 +1337,12 @@
"name": "art-run-test-843-default-interface[com.google.android.art.apex]"
},
{
+ "name": "art-run-test-851-null-instanceof[com.google.android.art.apex]"
+ },
+ {
+ "name": "art-run-test-853-checker-inlining[com.google.android.art.apex]"
+ },
+ {
"name": "art-run-test-963-default-range-smali[com.google.android.art.apex]"
},
{
@@ -1922,6 +1937,15 @@
"name": "art-run-test-2265-checker-select-binary-unary"
},
{
+ "name": "art-run-test-2266-checker-remove-empty-ifs"
+ },
+ {
+ "name": "art-run-test-2268-checker-remove-dead-phis"
+ },
+ {
+ "name": "art-run-test-2269-checker-constant-folding-instrinsics"
+ },
+ {
"name": "art-run-test-300-package-override"
},
{
@@ -2756,6 +2780,12 @@
"name": "art-run-test-843-default-interface"
},
{
+ "name": "art-run-test-851-null-instanceof"
+ },
+ {
+ "name": "art-run-test-853-checker-inlining"
+ },
+ {
"name": "art-run-test-963-default-range-smali"
},
{
@@ -3337,6 +3367,15 @@
"name": "art-run-test-2265-checker-select-binary-unary"
},
{
+ "name": "art-run-test-2266-checker-remove-empty-ifs"
+ },
+ {
+ "name": "art-run-test-2268-checker-remove-dead-phis"
+ },
+ {
+ "name": "art-run-test-2269-checker-constant-folding-instrinsics"
+ },
+ {
"name": "art-run-test-300-package-override"
},
{
@@ -4171,6 +4210,12 @@
"name": "art-run-test-843-default-interface"
},
{
+ "name": "art-run-test-851-null-instanceof"
+ },
+ {
+ "name": "art-run-test-853-checker-inlining"
+ },
+ {
"name": "art-run-test-963-default-range-smali"
},
{
@@ -4256,24 +4301,9 @@
"name": "art-run-test-2247-checker-write-barrier-elimination"
},
{
- "name": "art-run-test-2266-checker-remove-empty-ifs"
- },
- {
- "name": "art-run-test-2268-checker-remove-dead-phis"
- },
- {
- "name": "art-run-test-2269-checker-constant-folding-instrinsics"
- },
- {
"name": "art-run-test-2273-checker-unreachable-intrinsics"
},
{
- "name": "art-run-test-851-null-instanceof"
- },
- {
- "name": "art-run-test-853-checker-inlining"
- },
- {
"name": "art_standalone_dexopt_chroot_setup_tests"
}
]
diff --git a/test/utils/regen-test-files b/test/utils/regen-test-files
index fa9bd7d..974137d 100755
--- a/test/utils/regen-test-files
+++ b/test/utils/regen-test-files
@@ -223,11 +223,6 @@
# removing them from this set (in order to promote them to
# presubmits).
postsubmit_only_tests = frozenset([
- "851-null-instanceof",
- "853-checker-inlining",
- "2266-checker-remove-empty-ifs",
- "2268-checker-remove-dead-phis",
- "2269-checker-constant-folding-instrinsics",
"2247-checker-write-barrier-elimination",
"2273-checker-unreachable-intrinsics",
])