Skip to content
Snippets Groups Projects
Commit 7d4cb582 authored by Javier Neira 's avatar Javier Neira
Browse files

Dont execute hackage tests in win

parent 5bd1df09
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,7 @@ JOBS="-j$JOBS"
# assume compiler is GHC
RUNHASKELL=$(echo $HC | sed -E 's/ghc(-[0-9.]*)$/runghc\1/')
if [ "$OSTYPE" = "msys" -o "$OSTYPE" = "cygwin" ]; then
if [ "$OSTYPE" = "msys" ]; then
ARCH="x86_64-windows"
elif [ "$(uname)" = "Linux" ]; then
ARCH="x86_64-linux"
......@@ -395,7 +395,10 @@ CMD="$($CABALPLANLISTBIN Cabal-tests:test:no-thunks-test) $TESTSUITEJOBS --hide-
(cd Cabal-tests && timed $CMD) || exit 1
CMD=$($CABALPLANLISTBIN Cabal-tests:test:hackage-tests)
(cd Cabal-tests && timed $CMD read-fields) || exit 1
# hackage-tests is not buildable in windows so $CMD will be empty here
if [ "$OSTYPE" != "msys" ]; then
(cd Cabal-tests && timed $CMD read-fields) || exit 1
fi
if $HACKAGETESTSALL; then
(cd Cabal-tests && timed $CMD parsec) || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment