summaryrefslogtreecommitdiffstats
path: root/Misc/build.sh
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-02-15 06:07:32 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-02-15 06:07:32 (GMT)
commit79415523d6931c3fcfbf88a941acad1707a1aebf (patch)
treed2f946ad683389da1fee5c806eac0a02d98ea18f /Misc/build.sh
parent219c164a472cb9c388aa61f877c0979c3d645cc1 (diff)
downloadcpython-79415523d6931c3fcfbf88a941acad1707a1aebf.zip
cpython-79415523d6931c3fcfbf88a941acad1707a1aebf.tar.gz
cpython-79415523d6931c3fcfbf88a941acad1707a1aebf.tar.bz2
Find test failures consistently
Diffstat (limited to 'Misc/build.sh')
-rwxr-xr-xMisc/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/build.sh b/Misc/build.sh
index 4c17251..a93941d 100755
--- a/Misc/build.sh
+++ b/Misc/build.sh
@@ -146,7 +146,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
F=make-test.out
start=`current_time`
make test >& build/$F
- NUM_FAILURES=`grep -ic " test failed:" build/$F`
+ NUM_FAILURES=`grep -ic " 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
@@ -165,7 +165,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
## skip curses when running from cron since there's no terminal
## skip sound since it's not setup on the PSF box (/dev/dsp)
./python -E -tt ./Lib/test/regrtest.py -uall -x test_curses test_linuxaudiodev test_ossaudiodev >& build/$F
- NUM_FAILURES=`grep -ic fail build/$F`
+ NUM_FAILURES=`grep -ic " failed:" build/$F`
update_status "Testing all except curses and sound ($NUM_FAILURES failures)" "$F" $start
mail_on_failure "all" build/$F
fi