From: Neal Norwitz Date: Thu, 9 Feb 2006 05:08:56 +0000 (+0000) Subject: Be a little less sensitive to failures. Only check for the result from X-Git-Tag: v2.5a0~702 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd3490abdb94aca32c6f42b450444554b28d4bf1;p=thirdparty%2FPython%2Fcpython.git Be a little less sensitive to failures. Only check for the result from regrtest.py. If we grep for just "fail", that finds bsddb deadlock messages, which presumably are just warnings. They don't cause a test failure. --- diff --git a/Misc/build.sh b/Misc/build.sh index 514921a05d4b..67aa776a31f0 100755 --- a/Misc/build.sh +++ b/Misc/build.sh @@ -144,7 +144,7 @@ if [ $err = 0 ]; then F=make-test.out start=`current_time` make test >& build/$F - NUM_FAILURES=`grep -ic fail build/$F` + NUM_FAILURES=`grep -ic " test failed:" build/$F` update_status "Testing basics ($NUM_FAILURES failures)" "$F" $start ## FIXME: should mail since -uall below should find same problems mail_on_failure "basics" build/$F