diff options
author | Andrey Mokhov <andrey.mokhov@gmail.com> | 2018-11-26 22:18:36 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-12-01 09:30:33 -0500 |
commit | 93e86d6103757b43017535c92bc6970e9e2315a5 (patch) | |
tree | ab1f04729974270a0125e1eac81e843eab2a23e0 /hadrian/src/Rules | |
parent | 3b075e1a96564f29130540d933d07840c59a0feb (diff) | |
download | haskell-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.hs | 5 |
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 () |