]> granicus.if.org Git - python/commitdiff
Be a little less sensitive to failures. Only check for the result from
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 9 Feb 2006 05:08:56 +0000 (05:08 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 9 Feb 2006 05:08:56 +0000 (05:08 +0000)
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.

Misc/build.sh

index 514921a05d4b1657a1bbe25dbcf6894fd5ed5a6c..67aa776a31f0b307c251ad54b64cacda4de31dde 100755 (executable)
@@ -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