[Python-3000-checkins] r57294 - python/branches/py3k/runtests.sh
guido.van.rossum
python-3000-checkins at python.org
Wed Aug 22 23:46:00 CEST 2007
Author: guido.van.rossum
Date: Wed Aug 22 23:46:00 2007
New Revision: 57294
Modified:
python/branches/py3k/runtests.sh
Log:
Use python -E instead of undef PYTHONPATH.
Modified: python/branches/py3k/runtests.sh
==============================================================================
--- python/branches/py3k/runtests.sh (original)
+++ python/branches/py3k/runtests.sh Wed Aug 22 23:46:00 2007
@@ -15,9 +15,6 @@
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;;
@@ -66,8 +63,11 @@
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
More information about the Python-3000-checkins
mailing list