ignore test warnings

This commit is contained in:
Greg Weber 2011-09-05 22:36:37 -07:00
parent 850c4037df
commit 7ae7d274fc

View File

@ -30,15 +30,24 @@ for pkg in "${pkgs[@]}"; do
( (
cd "./$pkg" cd "./$pkg"
if ! $CABAL configure --enable-tests --ghc-options="-Wall -Werror"; then if [ $1 == "--clean" ]; then
$CABAL install --only-dependencies $CABAL clean
$CABAL configure --enable-tests --ghc-options="-Wall -Werror"
fi fi
if ! $CABAL configure --ghc-options="-Wall -Werror"; then
$CABAL install --only-dependencies
$CABAL configure --ghc-options="-Wall -Werror"
fi
$CABAL build
$CABAL configure --enable-tests
$CABAL build $CABAL build
$CABAL test $CABAL test
$CABAL check $CABAL check
$CABAL haddock --executables if [ $1 != "--fast" ]; then
$CABAL haddock --executables
fi
./Setup.lhs install ./Setup.lhs install
) )
done done