Subject: [commit: ghc] master: Fix validating with HADDOCK_DOCS=YES (d7d6c42)
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch : master

http://hackage.haskell.org/trac/ghc/changeset/d7d6c42a85a4f375183417fdda44c2b524a9b598

>---------------------------------------------------------------

commit d7d6c42a85a4f375183417fdda44c2b524a9b598
Author: Ian Lynagh <igloo@xxxxxxxx>
Date: Wed Feb 22 02:36:51 2012 +0000

Fix validating with HADDOCK_DOCS=YES

>---------------------------------------------------------------

validate | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/validate b/validate
index 6f0405d..f1ec3a1 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




_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/cvs-ghc

(C)2011 mailinglist-archive.com