summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-07-14 14:15:46 +0100
committerIan Lynagh <igloo@earth.li>2011-07-14 14:15:46 +0100
commit83e4c1efbc1cb453250fbfc2d3a663a39e4059aa (patch)
tree95fe7852a087c4e5b511d418a07d259a5dd5c2b8 /validate
parentb3ccc9e674016e22f386b549d1962627595c429c (diff)
downloadhaskell-83e4c1efbc1cb453250fbfc2d3a663a39e4059aa.tar.gz
validate now checks that the testsuite exists first; trac #5089
Diffstat (limited to 'validate')
-rwxr-xr-xvalidate7
1 files changed, 7 insertions, 0 deletions
diff --git a/validate b/validate
index 32432b60be..406cfe085c 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