summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-08 16:56:41 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-11 23:39:56 +0100
commitec67f8136a8953c4813f875b7c9390aa81c2c9aa (patch)
tree12649ba70021d24d53b15e98f518d96a13074b7b
parent41e8400a57620978681663e9c804fee405da26d5 (diff)
downloadhaskell-ec67f8136a8953c4813f875b7c9390aa81c2c9aa.tar.gz
testsuite: use same flags for ghci way and scripts
The ghci script tests were using different RTS flags from the normal ghci tests. This commit makes them use the same flags. Reviewers: austin Differential Revision: https://phabricator.haskell.org/D724
-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 a3c473a486..fec6939168 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -955,7 +955,7 @@ def ghci_script( name, way, script, override_flags = None ):
# actually testing the recompilation behaviour in the GHCi tests.
flags = ' '.join(get_compiler_flags(override_flags, noforce=True))
- way_flags = '--interactive -v0 -ignore-dot-ghci'
+ way_flags = ' '.join(config.way_flags(name)['ghci'])
# We pass HC and HC_OPTS as environment variables, so that the
# script can invoke the correct compiler by using ':! $HC $HC_OPTS'