Commit ec67f813 authored by thomie's avatar thomie
Browse files

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
parent 41e8400a
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment