[commit: ghc] master: validate now checks that the testsuite exists first; trac #5089 (83e4c1e)
Ian Lynagh
igloo at earth.li
Thu Jul 14 15:16:59 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/83e4c1efbc1cb453250fbfc2d3a663a39e4059aa
>---------------------------------------------------------------
commit 83e4c1efbc1cb453250fbfc2d3a663a39e4059aa
Author: Ian Lynagh <igloo at earth.li>
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
More information about the Cvs-ghc
mailing list