summaryrefslogtreecommitdiff
path: root/testsuite/driver/testlib.py
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-10-01 12:04:01 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-12 19:16:40 -0400
commit3b1c12d353eef24b29601798874eb875978452cd (patch)
treed2bcc340484b2f3d548ba1065929d95b8b6624e2 /testsuite/driver/testlib.py
parent9074b7484a0e438a2c1fbb900ab213ae17c04641 (diff)
downloadhaskell-3b1c12d353eef24b29601798874eb875978452cd.tar.gz
testsuite: Fix overzealous command-line mangling
Previously this attempt at suppressing make's -s flag would mangle otherwise valid arguments.
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 7a1fafbbd7..1a12f5c086 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1223,7 +1223,7 @@ def do_test(name: TestName,
# with the output.
def override_options(pre_cmd):
if config.verbose >= 5 and bool(re.match('\$make', pre_cmd, re.I)):
- return pre_cmd.replace('-s' , '') \
+ return pre_cmd.replace(' -s' , '') \
.replace('--silent', '') \
.replace('--quiet' , '')