summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-26 18:43:46 +0000
committerGuido van Rossum <guido@python.org>2007-07-26 18:43:46 +0000
commitd95f2f9293a6e8f1394e0c6f9e80b72c727aa01a (patch)
tree480bfd4b98d42fee52806597c969acbae31bd784
parentac710146f0bd64138593f361f426c975439ba337 (diff)
downloadcpython-d95f2f9293a6e8f1394e0c6f9e80b72c727aa01a.tar.gz
Don't redirect stdout for test_curses.
Kill some dead (commented-out) code.
-rwxr-xr-xruntests.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtests.sh b/runtests.sh
index 25303904b8..adaa2fc651 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -48,7 +48,10 @@ esac
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 @@ do
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