[commit: ghc] master: testsuite: Add newline to test output (d924c17)
git at git.haskell.org
git at git.haskell.org
Sun Feb 18 17:00:18 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d924c17dfc8d277a7460fa57217a9ab82f78ee4e/ghc
>---------------------------------------------------------------
commit d924c17dfc8d277a7460fa57217a9ab82f78ee4e
Author: Douglas Wilson <douglas.wilson at gmail.com>
Date: Sun Feb 18 11:10:21 2018 -0500
testsuite: Add newline to test output
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4389
>---------------------------------------------------------------
d924c17dfc8d277a7460fa57217a9ab82f78ee4e
testsuite/tests/concurrent/should_run/setnumcapabilities001.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/tests/concurrent/should_run/setnumcapabilities001.hs b/testsuite/tests/concurrent/should_run/setnumcapabilities001.hs
index 27685f0..a18d75a 100644
--- a/testsuite/tests/concurrent/should_run/setnumcapabilities001.hs
+++ b/testsuite/tests/concurrent/should_run/setnumcapabilities001.hs
@@ -15,7 +15,7 @@ main = do
forM_ (cycle ([n,n-1..1] ++ [2..n-1])) $ \m -> do
setNumCapabilities m
threadDelay t
- printf "%d" (nqueens q)
+ printf "%d\n" (nqueens q)
killThread t
-- If we don't kill the child thread, it might be about to
-- call setNumCapabilities() in C when the main thread exits,
More information about the ghc-commits
mailing list