diff options
author | David Eichmann <EichmannD@gmail.com> | 2019-02-27 18:35:15 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-01 16:44:22 -0500 |
commit | b1c7ffafc64c5e04fe59e1c38fe86693de3498aa (patch) | |
tree | 95d6b9582ab00988077c72c45da02ef3a29c7085 | |
parent | 9aa27273afddd3cbf4c03c70954f24ac8ea1a706 (diff) | |
download | haskell-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.py | 2 |
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, |