3 # Run tests and signal error on failure.
4 # Saves output in 'test.log', unless no failures are detected.
6 runhaskell
-itests tests
/Main.hs |
tee test.log
7 if $
(grep Falsifiable
test.log
>/dev
/null
) \
8 || $
(grep "\*\*\* FAILURE \*\*\*" test.log
>/dev
/null
) ; then
9 #echo "Failure detected!"
14 runhaskell Setup configure
--disable-optimization -f test && \
15 runhaskell Setup build
&& runhaskell Setup haddock