Have "runhaskell Setup test" return an error status if tests fail.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1456 788f1e2b-df1e-0410-8736-df70ead52e1b
commitd1d614b8ef6a239eff24dd152397028920a53e33
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateMon 22 Sep 2008, 21:26 (18 years ago)
parentcaadac7
Setup.hs+1−2
@@ -16,8 +16,7 @@ main = defaultMainWithHooks $
1616
1717-- | Run test suite.
1818runTestSuite _ _ _ _ = do
19− inDirectory "tests" $ runCommand "runhaskell -i.. RunTests.hs" >>= waitForProcess
20− return ()
19+ inDirectory "tests" $ runCommand "runhaskell -i.. RunTests.hs" >>= waitForProcess >>= exitWith
2120
2221-- | Build man pages from markdown sources in man/man1/.
2322makeManPages _ _ _ _ = do