diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-02 22:10:10 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-02 22:10:10 (GMT) |
commit | d19a4d47c611f416938e233e0a6c42833715e068 (patch) | |
tree | 228686e08847b45df06e47a0099ffef893e0e839 /Misc/build.sh | |
parent | 6bc6ed8b5554e17d634b25aa07900c2852687222 (diff) | |
download | cpython-d19a4d47c611f416938e233e0a6c42833715e068.zip cpython-d19a4d47c611f416938e233e0a6c42833715e068.tar.gz cpython-d19a4d47c611f416938e233e0a6c42833715e068.tar.bz2 |
* Change tabs to spaces
* Enable network tests when hunting for leaks
* Disable curses and audio tests properly when running -u all
Diffstat (limited to 'Misc/build.sh')
-rwxr-xr-x | Misc/build.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Misc/build.sh b/Misc/build.sh index af6824b..6e09186 100755 --- a/Misc/build.sh +++ b/Misc/build.sh @@ -133,13 +133,13 @@ if [ $err = 0 ]; then warnings=`grep warning build/$F | egrep -vc "te?mpnam(_r|)' is dangerous,"` update_status "Building ($warnings warnings)" "$F" $start if [ $err = 0 ]; then - ## make install + ## make install F=make-install.out start=`current_time` make install >& build/$F update_status "Installing" "$F" $start - ## make and run basic tests + ## make and run basic tests F=make-test.out start=`current_time` make test >& build/$F @@ -147,20 +147,20 @@ if [ $err = 0 ]; then update_status "Testing basics ($NUM_FAILURES failures)" "$F" $start mail_on_failure "basics" buiild/$F - ## run the tests looking for leaks + ## run the tests looking for leaks F=make-test-refleak.out start=`current_time` - ./python ./Lib/test/regrtest.py -R 4:3:$REFLOG >& build/$F + ./python ./Lib/test/regrtest.py -R 4:3:$REFLOG -u network >& build/$F NUM_FAILURES=`grep -ic leak $REFLOG` update_status "Testing refleaks ($NUM_FAILURES failures)" "$F" $start mail_on_failure "refleak" $REFLOG - ## now try to run all the tests + ## now try to run all the tests F=make-testall.out 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 -E -tt ./Lib/test/regrtest.py -uall -x test_curses,test_linuxaudiodev,test_ossaudiodev >& build/$F + ## 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` update_status "Testing all except curses and sound ($NUM_FAILURES failures)" "$F" $start mail_on_failure "all" buiild/$F |