summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
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