summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-02-22 02:36:51 +0000
committerIan Lynagh <igloo@earth.li>2012-02-22 02:36:51 +0000
commitd7d6c42a85a4f375183417fdda44c2b524a9b598 (patch)
treeb79526b83d98847ab54656147bca666c847183f8 /validate
parent544926d7c6fe5823eb12b7907853e34ad7444b9b (diff)
downloadhaskell-d7d6c42a85a4f375183417fdda44c2b524a9b598.tar.gz
Fix validating with HADDOCK_DOCS=YES
Diffstat (limited to 'validate')
-rwxr-xr-xvalidate17
1 files changed, 9 insertions, 8 deletions
diff --git a/validate b/validate
index 6f0405d0c1..f1ec3a16b1 100755
--- a/validate
+++ b/validate
@@ -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