summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules
diff options
context:
space:
mode:
authorAndrey Mokhov <andrey.mokhov@gmail.com>2018-11-26 22:18:36 +0000
committerBen Gamari <ben@smart-cactus.org>2018-12-01 09:30:33 -0500
commit93e86d6103757b43017535c92bc6970e9e2315a5 (patch)
treeab1f04729974270a0125e1eac81e843eab2a23e0 /hadrian/src/Rules
parent3b075e1a96564f29130540d933d07840c59a0feb (diff)
downloadhaskell-93e86d6103757b43017535c92bc6970e9e2315a5.tar.gz
Hadrian: Print all testsuite output to stdout
See https://ghc.haskell.org/trac/ghc/ticket/15951
Diffstat (limited to 'hadrian/src/Rules')
-rw-r--r--hadrian/src/Rules/Test.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs
index d6ac7eb223..9a314dc25b 100644
--- a/hadrian/src/Rules/Test.hs
+++ b/hadrian/src/Rules/Test.hs
@@ -75,7 +75,10 @@ testRules = do
setEnv "CHECK_API_ANNOTATIONS" annotationsPath
-- Execute the test target.
- buildWithCmdOptions env $ target (vanillaContext Stage2 compiler) RunTest [] []
+ -- We override the verbosity setting to make sure the user can see
+ -- the test output: https://ghc.haskell.org/trac/ghc/ticket/15951.
+ withVerbosity Loud $ buildWithCmdOptions env $
+ target (vanillaContext Stage2 compiler) RunTest [] []
-- | Build extra programs and libraries required by testsuite
needTestsuitePackages :: Action ()