aboutsummaryrefslogtreecommitdiff
path: root/tests/GhcSession.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-08-21 03:30:57 +0200
committerDaniel Gröber (dxld) <dxld@darkboxed.org>2019-09-17 17:48:26 +0200
commit56bb48210a0e0241216e0dcebee26ec479c73c5d (patch)
treeb7a4f2520908886c57fd7ea2d1bf88d47d9c16bd /tests/GhcSession.hs
parenteb9f5be6a47935a3b61e936de5bfc07fc5024b04 (diff)
ghc-session: Fix verbosity functions
Diffstat (limited to 'tests/GhcSession.hs')
-rw-r--r--tests/GhcSession.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs
index 45fe82e..e8eeaa4 100644
--- a/tests/GhcSession.hs
+++ b/tests/GhcSession.hs
@@ -298,12 +298,12 @@ runTest modProgs ps2@(psdImpl -> ProjSetupImpl{..}) topdir projdir cabal_file
runWithCwd :: FilePath -> String -> [String] -> IO ()
runWithCwd cwd x xs = do
- let ?verbose = (==1)
+ let ?verbose = (<=1)
callProcessStderr (Just cwd) [] x xs
run :: String -> [String] -> IO ()
run x xs = do
- let ?verbose = (==1)
+ let ?verbose = (<=1)
callProcessStderr Nothing [] x xs
test