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
This commit is contained in:
parent
caadac70cd
commit
d1d614b8ef
1 changed files with 1 additions and 2 deletions
3
Setup.hs
3
Setup.hs
|
@ -16,8 +16,7 @@ main = defaultMainWithHooks $
|
|||
|
||||
-- | Run test suite.
|
||||
runTestSuite _ _ _ _ = do
|
||||
inDirectory "tests" $ runCommand "runhaskell -i.. RunTests.hs" >>= waitForProcess
|
||||
return ()
|
||||
inDirectory "tests" $ runCommand "runhaskell -i.. RunTests.hs" >>= waitForProcess >>= exitWith
|
||||
|
||||
-- | Build man pages from markdown sources in man/man1/.
|
||||
makeManPages _ _ _ _ = do
|
||||
|
|
Loading…
Reference in a new issue