Don't remake the bindist when validating with --testsuite-only
authorIan Lynagh <igloo@earth.li>
Fri, 9 Oct 2009 20:09:55 +0000 (20:09 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 9 Oct 2009 20:09:55 +0000 (20:09 +0000)
validate

index a042664..23772c5 100644 (file)
--- a/validate
+++ b/validate
@@ -71,6 +71,10 @@ thisdir=`utils/ghc-pwd/ghc-pwd`
 echo "Validating=YES" > mk/are-validating.mk
 
 make -j$threads ValidateHpc=$hpc ValidateSlow=$slow
+
+make binary-dist-prep
+make -C bindisttest TEST_PREP=YES
+
 fi # testsuite-only
 
 if [ "$hpc" = YES ]
@@ -83,9 +87,6 @@ then
     rm -f $HPCTIXFILE
 fi
 
-make binary-dist-prep
-make -C bindisttest TEST_PREP=YES
-
 make -C testsuite/tests/ghc-regress fast stage=2 CLEANUP=1 THREADS=$threads 2>&1 | tee testlog
 
 if [ "$hpc" = YES ]