Commit d7d6c42a authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix validating with HADDOCK_DOCS=YES

parent 544926d7
......@@ -105,6 +105,15 @@ if [ $speed != "FAST" ]; then
$make binary-dist-prep
$make test_bindist TEST_PREP=YES
#
# Install the mtl package into the bindist, because it is used by some
# tests. It isn't essential that we do this (the failing tests will
# be treated as expected failures), but we get a bit more test
# coverage, and also verify that we can install a package into the
# bindist with Cabal.
#
bindistdir="bindisttest/install dir"
# This is a hack to make
# HADDOCK_DOCS = NO
# work when validating.
......@@ -117,14 +126,6 @@ if [ $speed != "FAST" ]; then
DO_HADDOCK=YES
fi
#
# Install the mtl package into the bindist, because it is used by some
# tests. It isn't essential that we do this (the failing tests will
# be treated as expected failures), but we get a bit more test
# coverage, and also verify that we can install a package into the
# bindist with Cabal.
#
bindistdir="bindisttest/install dir"
cd libraries/mtl
"$thisdir/$bindistdir/bin/ghc" --make Setup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment