summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-08-08 19:13:07 +0100
committerIan Lynagh <igloo@earth.li>2011-08-08 19:14:30 +0100
commita28f25fdfe1edcd190719ab87560411cf7b7dd63 (patch)
treee4117159c015e7102c074ea028faab1cd34dd6fe
parent61ce073196ebe94d2c1695a3ff34a95153c941a2 (diff)
downloadhaskell-a28f25fdfe1edcd190719ab87560411cf7b7dd63.tar.gz
Have validate check for the "files written by multiple tests" error
We don't actually enable the test yet, but when we do validate will check whether it fails.
-rwxr-xr-xvalidate3
1 files changed, 2 insertions, 1 deletions
diff --git a/validate b/validate
index facee1c36a..0010d743e4 100755
--- a/validate
+++ b/validate
@@ -142,7 +142,8 @@ echo "-------------------------------------------------------------------"
if
grep '\<0 caused framework failures' testlog >/dev/null 2>/dev/null &&
grep '\<0 unexpected passes' testlog >/dev/null 2>/dev/null &&
- grep '\<0 unexpected failures' testlog >/dev/null 2>/dev/null ; then
+ grep '\<0 unexpected failures' testlog >/dev/null 2>/dev/null &&
+ ! grep 'Some files are written by multiple tests' testlog >/dev/null 2>/dev/null ; then
if [ $testsuite_only -eq 0 ] && [ $no_clean -eq 0 ]
then
cat <<EOF