Flags (arguments starting with '-') are passed transparently to
regrtest.py, except for -x, which is processed here."
-# Reset PYTHONPATH to avoid alien influences on the tests.
-unset PYTHONPATH
-
# Choose the Python binary.
case `uname` in
Darwin) PYTHON=./python.exe;;
do
echo -n $T
if case $T in
- *curses*) echo; $PYTHON Lib/test/regrtest.py $FLAGS $T 2>OUT/$T.out;;
- *) $PYTHON Lib/test/regrtest.py $FLAGS $T >OUT/$T.out 2>&1;;
+ *curses*)
+ echo
+ $PYTHON -E Lib/test/regrtest.py $FLAGS $T 2>OUT/$T.out
+ ;;
+ *) $PYTHON -E Lib/test/regrtest.py $FLAGS $T >OUT/$T.out 2>&1;;
esac
then
if grep -q "1 test skipped:" OUT/$T.out