[commit: ghc] master: Hadrian: Print all testsuite output to stdout (93e86d6)
git at git.haskell.org
git at git.haskell.org
Sat Dec 1 15:31:28 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/93e86d6103757b43017535c92bc6970e9e2315a5/ghc
>---------------------------------------------------------------
commit 93e86d6103757b43017535c92bc6970e9e2315a5
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Mon Nov 26 22:18:36 2018 +0000
Hadrian: Print all testsuite output to stdout
See https://ghc.haskell.org/trac/ghc/ticket/15951
>---------------------------------------------------------------
93e86d6103757b43017535c92bc6970e9e2315a5
hadrian/src/Rules/Test.hs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs
index d6ac7eb..9a314dc 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 ()
More information about the ghc-commits
mailing list