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"
if ! $CABAL configure --enable-tests --ghc-options="-Wall -Werror"; then
$CABAL install --only-dependencies
$CABAL configure --enable-tests --ghc-options="-Wall -Werror"
if [ $1 == "--clean" ]; then
$CABAL clean
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 test
$CABAL check
$CABAL haddock --executables
if [ $1 != "--fast" ]; then
$CABAL haddock --executables
fi
./Setup.lhs install
)
done