summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-05-13 10:20:44 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-05-13 10:20:44 +0000
commitffafcfbb7e0ef225561a400ed3104c14f8403891 (patch)
tree99600068bb47ddcc7588b226611ab83d9916b862 /validate
parent6ffaaf83376fcda5e1d98fb9963ab73faa528ab5 (diff)
downloadhaskell-ffafcfbb7e0ef225561a400ed3104c14f8403891.tar.gz
validate does "exit 1" if it fails
Diffstat (limited to 'validate')
-rw-r--r--validate4
1 files changed, 3 insertions, 1 deletions
diff --git a/validate b/validate
index 375d2c1785..26b1fe11f0 100644
--- a/validate
+++ b/validate
@@ -135,13 +135,15 @@ so be careful!
NOTE: If you have made changes that may cause failures not tested for by
the minimal testing procedure, please do further testing as necessary.
+-------------------------------------------------------------------
EOF
fi
else
cat <<EOF
Oops! Looks like you have some unexpected test results or framework failures.
Please fix them before pushing/sending patches.
+-------------------------------------------------------------------
EOF
+ exit 1
fi
-echo "-------------------------------------------------------------------"