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.
This commit is contained in:
Neal Norwitz 2006-02-09 05:08:56 +00:00
parent 82a9394237
commit bd3490abdb
1 changed files with 1 additions and 1 deletions

View File

@ -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