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

r.david.murray python-checkins at python.org
Thu Jan 7 04:09:08 CET 2010


Author: r.david.murray
Date: Thu Jan  7 04:09:08 2010
New Revision: 77337

Log:
Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
information if a failure happens.


Modified:
   python/trunk/Misc/build.sh

Modified: python/trunk/Misc/build.sh
==============================================================================
--- python/trunk/Misc/build.sh	(original)
+++ python/trunk/Misc/build.sh	Thu Jan  7 04:09:08 2010
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -x
 
 ## Script to build and test the latest python from svn.  It basically
 ## does this:
@@ -212,7 +212,7 @@
             ## make and run basic tests
             F=make-test.out
             start=`current_time`
-            $PYTHON $REGRTEST_ARGS -u urlfetch >& build/$F
+            $PYTHON $REGRTEST_ARGS -W -u urlfetch >& build/$F
             NUM_FAILURES=`count_failures build/$F`
             place_summary_first build/$F
             update_status "Testing basics ($NUM_FAILURES failures)" "$F" $start
@@ -220,7 +220,7 @@
 
             F=make-test-opt.out
             start=`current_time`
-            $PYTHON -O $REGRTEST_ARGS -u urlfetch >& build/$F
+            $PYTHON -O $REGRTEST_ARGS -W -u urlfetch >& build/$F
             NUM_FAILURES=`count_failures build/$F`
             place_summary_first build/$F
             update_status "Testing opt ($NUM_FAILURES failures)" "$F" $start
@@ -243,7 +243,7 @@
             start=`current_time`
             ## 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 $REGRTEST_ARGS -uall -x test_curses test_linuxaudiodev test_ossaudiodev >& build/$F
+            $PYTHON $REGRTEST_ARGS -W -uall -x test_curses test_linuxaudiodev test_ossaudiodev >& build/$F
             NUM_FAILURES=`count_failures build/$F`
             place_summary_first build/$F
             update_status "Testing all except curses and sound ($NUM_FAILURES failures)" "$F" $start


More information about the Python-checkins mailing list