Sort tests by name (partially) in ART's `TEST_MAPPING`.
Output of `art/test/utils/regen-test-files`:
$ art/test/utils/regen-test-files
Generated Blueprint files for 664 ART run-tests out of 959 (69%).
Generated TEST_MAPPING entries for 410 ART run-tests out of 959 (42%):
410 ART run-tests (100%) in `mainline-presubmit` test group.
20 ART gtests (95%) in `mainline-presubmit` test group.
410 ART run-tests (100%) in `presubmit` test group.
21 ART gtests (100%) in `presubmit` test group.
Test: atest --test-mapping art:presubmit
Change-Id: I2069cbe960e38f01790df702349583636d335878
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 88d6e32..73741d7 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1297,16 +1297,16 @@
],
"presubmit": [
{
- "name": "CtsJdwpTestCases"
+ "name": "ArtServiceTests"
},
{
"name": "BootImageProfileTest"
},
{
- "name": "ArtServiceTests"
+ "name": "ComposHostTestCases"
},
{
- "name": "ComposHostTestCases"
+ "name": "CtsJdwpTestCases"
},
{
"name": "art_standalone_dexpreopt_tests"
diff --git a/test/utils/regen-test-files b/test/utils/regen-test-files
index 900d7a7..24eb19e 100755
--- a/test/utils/regen-test-files
+++ b/test/utils/regen-test-files
@@ -208,10 +208,10 @@
])
known_failing_on_hwasan_tests = frozenset([
+ "BootImageProfileTest", # b/232012605
"CtsJdwpTestCases", # times out
"art_standalone_compiler_tests", # b/230392320
"art_standalone_dex2oat_tests", # b/228881278
- "BootImageProfileTest", # b/232012605
])
# ART gtests that do not need root access to the device.
@@ -547,10 +547,10 @@
# Presubmits.
other_presubmit_tests = [
- "CtsJdwpTestCases",
- "BootImageProfileTest",
"ArtServiceTests",
+ "BootImageProfileTest",
"ComposHostTestCases",
+ "CtsJdwpTestCases",
"art_standalone_dexpreopt_tests",
]
presubmit_tests = other_presubmit_tests + run_test_module_names + art_gtest_module_names