summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Eichmann <EichmannD@gmail.com>2019-02-27 18:35:15 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-01 16:44:22 -0500
commitb1c7ffafc64c5e04fe59e1c38fe86693de3498aa (patch)
tree95d6b9582ab00988077c72c45da02ef3a29c7085
parent9aa27273afddd3cbf4c03c70954f24ac8ea1a706 (diff)
downloadhaskell-b1c7ffafc64c5e04fe59e1c38fe86693de3498aa.tar.gz
Fix parsing of expected performance changes for tests with non-alpha characters.
Python's split() function is used to split on all white space.
-rw-r--r--testsuite/driver/perf_notes.py2
1 files changed, 1 insertions, 1 deletions
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,