diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-10-01 12:04:01 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-10-25 23:49:49 -0400 |
commit | 8433b4d97e0141f5432ac692790190ea3ed35da6 (patch) | |
tree | 6dc465f593f2b44c6b9e3848cdeb60b331b8f76a | |
parent | 585aa5c6f22adfa6a326123deddd3c87499111a7 (diff) | |
download | haskell-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.py | 2 |
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' , '') |