summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-10-01 12:04:01 -0400
committerBen Gamari <ben@smart-cactus.org>2021-10-25 23:49:49 -0400
commit8433b4d97e0141f5432ac692790190ea3ed35da6 (patch)
tree6dc465f593f2b44c6b9e3848cdeb60b331b8f76a
parent585aa5c6f22adfa6a326123deddd3c87499111a7 (diff)
downloadhaskell-8433b4d97e0141f5432ac692790190ea3ed35da6.tar.gz
testsuite: Fix overzealous command-line mangling
Previously this attempt at suppressing make's -s flag would mangle otherwise valid arguments. (cherry picked from commit 3b1c12d353eef24b29601798874eb875978452cd)
-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 7184e2acc8..ee68e05a66 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1205,7 +1205,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' , '')