[Python-checkins] r42376 - python/trunk/Misc/build.sh
neal.norwitz
python-checkins at python.org
Wed Feb 15 07:07:32 CET 2006
Author: neal.norwitz
Date: Wed Feb 15 07:07:32 2006
New Revision: 42376
Modified:
python/trunk/Misc/build.sh
Log:
Find test failures consistently
Modified: python/trunk/Misc/build.sh
==============================================================================
--- python/trunk/Misc/build.sh (original)
+++ python/trunk/Misc/build.sh Wed Feb 15 07:07:32 2006
@@ -146,7 +146,7 @@
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 @@
## 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
More information about the Python-checkins
mailing list