summaryrefslogtreecommitdiff
path: root/test/testrunner/testrunner.py
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2018-02-05 14:37:31 +0000
committer Orion Hodson <oth@google.com> 2018-02-05 16:03:03 +0000
commit75a58dc390c4aa376f0596719031dfefd4e7c23c (patch)
tree21d6ef7730469cf21c052e6ea64863599d4aea49 /test/testrunner/testrunner.py
parent1e5b3f39ff1776fd8b7d8d7d372347a08d98781b (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
Diffstat (limited to 'test/testrunner/testrunner.py')
-rwxr-xr-xtest/testrunner/testrunner.py4
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