[commit: ghc] master: testsuite: use same flags for ghci way and scripts (ec67f81)

git at git.haskell.org git at git.haskell.org
Wed Mar 11 22:42:17 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ec67f8136a8953c4813f875b7c9390aa81c2c9aa/ghc

>---------------------------------------------------------------

commit ec67f8136a8953c4813f875b7c9390aa81c2c9aa
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Sun Mar 8 16:56:41 2015 +0100

    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


>---------------------------------------------------------------

ec67f8136a8953c4813f875b7c9390aa81c2c9aa
 testsuite/driver/testlib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index a3c473a..fec6939 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'



More information about the ghc-commits mailing list