summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-01-07 03:09:08 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-01-07 03:09:08 (GMT)
commitff2d7a7f093675f74600167ae7983f9b0d99b86e (patch)
treef34c36fb7b151300d0172450baab7358b38c2617
parent705a35826576325f3ba18c722a0fda0aaecf0f62 (diff)
downloadcpython-ff2d7a7f093675f74600167ae7983f9b0d99b86e.zip
cpython-ff2d7a7f093675f74600167ae7983f9b0d99b86e.tar.gz
cpython-ff2d7a7f093675f74600167ae7983f9b0d99b86e.tar.bz2
Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
information if a failure happens.
-rwxr-xr-xMisc/build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Misc/build.sh b/Misc/build.sh
index a5a7d49..b554675 100755
--- a/Misc/build.sh
+++ b/Misc/build.sh
@@ -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 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
## 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 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
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 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
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