summaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-26 18:43:46 (GMT)
committerGuido van Rossum <guido@python.org>2007-07-26 18:43:46 (GMT)
commit97a7f1e4202f1113cab407ffa63e22ce27e5d58b (patch)
tree56e7f82c1fd39fd004b507ebc3c741f79e50596f /runtests.sh
parente5aeaad0ca1f86462df0c9d2661a5970c7cca0b3 (diff)
downloadcpython-97a7f1e4202f1113cab407ffa63e22ce27e5d58b.zip
cpython-97a7f1e4202f1113cab407ffa63e22ce27e5d58b.tar.gz
cpython-97a7f1e4202f1113cab407ffa63e22ce27e5d58b.tar.bz2
Don't redirect stdout for test_curses.
Kill some dead (commented-out) code.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtests.sh b/runtests.sh
index 2530390..adaa2fc 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