[Python-3000-checkins] r56555 - python/branches/py3k-struni/runtests.sh

guido.van.rossum python-3000-checkins at python.org
Thu Jul 26 20:43:46 CEST 2007


Author: guido.van.rossum
Date: Thu Jul 26 20:43:46 2007
New Revision: 56555

Modified:
   python/branches/py3k-struni/runtests.sh
Log:
Don't redirect stdout for test_curses.
Kill some dead (commented-out) code.


Modified: python/branches/py3k-struni/runtests.sh
==============================================================================
--- python/branches/py3k-struni/runtests.sh	(original)
+++ python/branches/py3k-struni/runtests.sh	Thu Jul 26 20:43:46 2007
@@ -48,7 +48,10 @@
 for T in $TESTS
 do
     echo -n $T
-    if $PYTHON Lib/test/regrtest.py $UFLAG $T >OUT/$T.out 2>&1
+    if   case $T in
+         *curses*) echo; $PYTHON Lib/test/regrtest.py $UFLAG $T 2>OUT/$T.out;;
+         *) $PYTHON Lib/test/regrtest.py $UFLAG $T >OUT/$T.out 2>&1;;
+         esac
     then
 	if grep -q "1 test skipped:" OUT/$T.out
 	then
@@ -61,7 +64,5 @@
     else
 	echo " BAD"
         echo $T >>BAD
-	##echo "--------- Re-running test in verbose mode ---------" >>OUT/$T.out
-	##$PYTHON Lib/test/regrtest.py -v $UFLAG $T >>OUT/$T.out 2>&1
     fi
 done


More information about the Python-3000-checkins mailing list