diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2011-07-29 07:49:10 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2011-07-29 07:49:10 +0100 |
commit | 8919b2f73893b4dc8ad572ca15a51a2732be141c (patch) | |
tree | 1d2619bd8815e9111f057a23733b62f691dca06a /validate | |
parent | eab7f5ff457e14413641fae9fc7589bf4e93e3ae (diff) | |
parent | 81c6183dca435a0f03ec3342f8c116d5f9de2ea6 (diff) | |
download | haskell-8919b2f73893b4dc8ad572ca15a51a2732be141c.tar.gz |
Merge branch 'master' of http://darcs.haskell.org/ghc
Diffstat (limited to 'validate')
-rwxr-xr-x | validate | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 @@ -147,7 +154,7 @@ the minimal testing procedure, please do further testing as necessary. When you are satisfied that you haven't broken anything, go ahead and push/send your patches. EOF - if grep -q "^[^#]" mk/validate.mk + if [ -f mk/validate.mk ] && grep -q "^[^#]" mk/validate.mk then cat <<EOF |