From b1c7ffafc64c5e04fe59e1c38fe86693de3498aa Mon Sep 17 00:00:00 2001 From: David Eichmann Date: Wed, 27 Feb 2019 18:35:15 +0000 Subject: Fix parsing of expected performance changes for tests with non-alpha characters. Python's split() function is used to split on all white space. --- testsuite/driver/perf_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/driver/perf_notes.py b/testsuite/driver/perf_notes.py index 2b4835392c..9362e46471 100644 --- a/testsuite/driver/perf_notes.py +++ b/testsuite/driver/perf_notes.py @@ -140,7 +140,7 @@ def parse_allowed_perf_changes(commitMsg): matches = re.findall(exp, commitMsg, re.M) changes = {} for (direction, metrics_str, opts_str, tests_str) in matches: - tests = re.findall(r"(\w+)", tests_str) + tests = tests_str.split() for test in tests: changes.setdefault(test, []).append({ 'direction': direction, -- cgit v1.2.1