Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : ghc-7.2

http://hackage.haskell.org/trac/ghc/changeset/47d63e832b0783e977d63e19d50b528e9af3bd19

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

commit 47d63e832b0783e977d63e19d50b528e9af3bd19
Author: Ian Lynagh <[email protected]>
Date:   Thu Jul 14 14:15:46 2011 +0100

    validate now checks that the testsuite exists first; trac #5089

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

 validate |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/validate b/validate
index 3161c4c..4b8ed1f 100755
--- a/validate
+++ b/validate
@@ -45,6 +45,13 @@ do
     shift
 done
 
+if ! [ -d testsuite ]
+then
+    echo 'You need the testsuite to validate' >&2
+    echo 'Run "./sync-all --testsuite get" to get it' >&2
+    exit 1
+fi
+
 if [ "$THREADS" = "" ]; then
     if [ "$CPUS" = "" ]; then
         threads=2



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to