summaryrefslogtreecommitdiff
path: root/hadrian/src
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-11-03 10:13:40 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2021-11-03 10:13:40 +0000
commita49c161b097fed300e0f712f3e015cf37f03cee0 (patch)
tree5b0405f609206005839bd7f2cf1ddeeea919e1a7 /hadrian/src
parenta7e1be3d84d2b7d0515f909175cdfa5dcf0dc55c (diff)
downloadhaskell-a49c161b097fed300e0f712f3e015cf37f03cee0.tar.gz
ci: Try not buffering python output
Diffstat (limited to 'hadrian/src')
-rw-r--r--hadrian/src/Settings/Builders/RunTest.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs
index c994a7b018..bab9111805 100644
--- a/hadrian/src/Settings/Builders/RunTest.hs
+++ b/hadrian/src/Settings/Builders/RunTest.hs
@@ -102,7 +102,8 @@ runTestBuilderArgs = builder Testsuite ? do
asBool s b = s ++ show b
-- TODO: set CABAL_MINIMAL_BUILD/CABAL_PLUGIN_BUILD
- mconcat [ arg $ "testsuite/driver/runtests.py"
+ mconcat [ arg "-u" -- Don't buffer output
+ , arg $ "testsuite/driver/runtests.py"
, pure [ "--rootdir=" ++ testdir | testdir <- rootdirs ]
, arg "--top", arg (top -/- "testsuite")
, arg "-e", arg $ "windows=" ++ show windowsHost