@@ -46,35 +46,39 @@ DIR=`dirname $DIR`
4646
4747FAILURE_SUBJECT=" Python Regression Test Failures"
4848# FAILURE_MAILTO="[email protected] "49- FAILURE_MAILTO=
" [email protected] " 49+ FAILURE_MAILTO=
" python-3000- [email protected] " 5050# FAILURE_CC="optional--uncomment and set to desired address"
5151
525253- REMOTE_DIR=" /data/ftp.python.org/pub/docs.python.org/dev/"
53+ REMOTE_DIR=" /data/ftp.python.org/pub/docs.python.org/dev/3.0 "
5454RESULT_FILE=" $DIR /build/index.html"
55- INSTALL_DIR=" /tmp/python-test/local"
55+ INSTALL_DIR=" /tmp/python-test-3.0 /local"
5656RSYNC_OPTS=" -aC -e ssh"
5757
5858# Always run the installed version of Python.
5959PYTHON=$INSTALL_DIR /bin/python
6060
6161# Python options and regression test program that should always be run.
62- REGRTEST_ARGS=" -E -tt $INSTALL_DIR /lib/python2.6 /test/regrtest.py"
62+ REGRTEST_ARGS=" -E -tt $INSTALL_DIR /lib/python3.0 /test/regrtest.py"
6363
6464REFLOG=" build/reflog.txt.out"
6565# These tests are not stable and falsely report leaks sometimes.
6666# The entire leak report will be mailed if any test not in this list leaks.
6767# Note: test_XXX (none currently) really leak, but are disabled
6868# so we don't send spam. Any test which really leaks should only
6969# be listed here if there are also test cases under Lib/test/leakers.
70- LEAKY_TESTS=" test_(XXX)" # Currently no tests should report spurious leaks.
70+ LEAKY_TESTS=" test_(cmd_line|socket)"
71+
72+ # These tests always fail, so skip them so we don't get false positives.
73+ _ALWAYS_SKIP=" test_compiler test_transformer"
74+ ALWAYS_SKIP=" -x $_ALWAYS_SKIP "
7175
7276# Skip these tests altogether when looking for leaks. These tests
7377# do not need to be stored above in LEAKY_TESTS too.
7478# test_compiler almost never finishes with the same number of refs
7579# since it depends on other modules, skip it.
7680# test_logging causes hangs, skip it.
77- LEAKY_SKIPS=" -x test_compiler test_logging"
81+ LEAKY_SKIPS=" -x test_compiler test_logging $_ALWAYS_SKIP "
7882
7983# Change this flag to "yes" for old releases to only update/build the docs.
8084BUILD_DISABLED=" no"
@@ -168,20 +172,20 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
168172 update_status " Installing" " $F " $start
169173
170174 if [ ! -x $PYTHON ]; then
171- ln -s ${PYTHON} 2 .* $PYTHON
175+ ln -s ${PYTHON} 3 .* $PYTHON
172176 fi
173177
174178 # # make and run basic tests
175179 F=make-test.out
176180 start=` current_time`
177- $PYTHON $REGRTEST_ARGS >& build/$F
181+ $PYTHON $REGRTEST_ARGS $ALWAYS_SKIP >& build/$F
178182 NUM_FAILURES=` grep -ic " failed:" build/$F `
179183 update_status " Testing basics ($NUM_FAILURES failures)" " $F " $start
180184 mail_on_failure " basics" build/$F
181185
182186 F=make-test-opt.out
183187 start=` current_time`
184- $PYTHON -O $REGRTEST_ARGS >& build/$F
188+ $PYTHON -O $REGRTEST_ARGS $ALWAYS_SKIP >& build/$F
185189 NUM_FAILURES=` grep -ic " failed:" build/$F `
186190 update_status " Testing opt ($NUM_FAILURES failures)" " $F " $start
187191 mail_on_failure " opt" build/$F
@@ -201,7 +205,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
201205 start=` current_time`
202206 # # skip curses when running from cron since there's no terminal
203207 # # skip sound since it's not setup on the PSF box (/dev/dsp)
204- $PYTHON $REGRTEST_ARGS -uall -x test_curses test_linuxaudiodev test_ossaudiodev >& build/$F
208+ $PYTHON $REGRTEST_ARGS -uall -x test_curses test_linuxaudiodev test_ossaudiodev $_ALWAYS_SKIP >& build/$F
205209 NUM_FAILURES=` grep -ic " failed:" build/$F `
206210 update_status " Testing all except curses and sound ($NUM_FAILURES failures)" " $F " $start
207211 mail_on_failure " all" build/$F
0 commit comments