diff options
author | 2018-02-05 14:37:31 +0000 | |
---|---|---|
committer | 2018-02-05 16:03:03 +0000 | |
commit | 75a58dc390c4aa376f0596719031dfefd4e7c23c (patch) | |
tree | 21d6ef7730469cf21c052e6ea64863599d4aea49 | |
parent | 1e5b3f39ff1776fd8b7d8d7d372347a08d98781b (diff) |
ART: Fix testrunner test reporting
Fixes breakage when manually invoking the testrunner to reproduce a
failure. The test names printed and the regular expression parser did
not line up for the cdex option.
Test: art/test/testrunner/testrunner.py test-art-host-run-test-debug-prebuild-speed-profile-no-relocate-ntrace-cms-checkjni-picimage-npictest-ndebuggable-no-jvmti-cdex-fast-710-varhandle-creation32
Change-Id: I93a58caa76a568496361f8777e55fbe586496f3b
-rwxr-xr-x | test/testrunner/testrunner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testrunner/testrunner.py b/test/testrunner/testrunner.py index 8a1e06cabf..3d173f5571 100755 --- a/test/testrunner/testrunner.py +++ b/test/testrunner/testrunner.py @@ -357,11 +357,12 @@ def run_tests(tests): while threading.active_count() > 2: time.sleep(0.1) return + # NB The order of components here should match the order of + # components in the regex parser in parse_test_name. test_name = 'test-art-' test_name += target + '-run-test-' test_name += run + '-' test_name += prebuild + '-' - test_name += cdex_level + '-' test_name += compiler + '-' test_name += relocate + '-' test_name += trace + '-' @@ -371,6 +372,7 @@ def run_tests(tests): test_name += pictest + '-' test_name += debuggable + '-' test_name += jvmti + '-' + test_name += cdex_level + '-' test_name += test test_name += address_size |