[Python-checkins] r42284 - python/trunk/Misc/build.sh

neal.norwitz python-checkins at python.org
Thu Feb 9 06:08:57 CET 2006


Author: neal.norwitz
Date: Thu Feb  9 06:08:56 2006
New Revision: 42284

Modified:
   python/trunk/Misc/build.sh
Log:
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.


Modified: python/trunk/Misc/build.sh
==============================================================================
--- python/trunk/Misc/build.sh	(original)
+++ python/trunk/Misc/build.sh	Thu Feb  9 06:08:56 2006
@@ -144,7 +144,7 @@
             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


More information about the Python-checkins mailing list