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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/83e4c1efbc1cb453250fbfc2d3a663a39e4059aa

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

commit 83e4c1efbc1cb453250fbfc2d3a663a39e4059aa
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 32432b6..406cfe0 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