Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97a7f1e

Browse files
committed
Don't redirect stdout for test_curses.
Kill some dead (commented-out) code.
1 parent e5aeaad commit 97a7f1e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

runtests.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ esac
4848
for T in $TESTS
4949
do
5050
echo -n $T
51-
if $PYTHON Lib/test/regrtest.py $UFLAG $T >OUT/$T.out 2>&1
51+
if case $T in
52+
*curses*) echo; $PYTHON Lib/test/regrtest.py $UFLAG $T 2>OUT/$T.out;;
53+
*) $PYTHON Lib/test/regrtest.py $UFLAG $T >OUT/$T.out 2>&1;;
54+
esac
5255
then
5356
if grep -q "1 test skipped:" OUT/$T.out
5457
then
@@ -61,7 +64,5 @@ do
6164
else
6265
echo " BAD"
6366
echo $T >>BAD
64-
##echo "--------- Re-running test in verbose mode ---------" >>OUT/$T.out
65-
##$PYTHON Lib/test/regrtest.py -v $UFLAG $T >>OUT/$T.out 2>&1
6667
fi
6768
done

0 commit comments

Comments
 (0)