Separate 2.6 files in runtests.sh

This commit is contained in:
rocky
2020-01-13 09:31:39 -05:00
parent a5c987d853
commit 02e0377ce1
2 changed files with 31 additions and 27 deletions

View File

@@ -0,0 +1,27 @@
SKIP_TESTS=(
[test___all__.py]=1 # it fails on its own
[test_aepack.py]=1 # Fails on its own
[test_descr.py]=1
[test_doctest.py]=1 #
[test_dis.py]=1 # We change line numbers - duh!
[test_file.py]=1
[test_generators.py]=1 # Investigate
[test_grp.py]=1 # Long test - might work Control flow?
[test_opcodes.py]=1 # Investigate whether we caused this recently
[test_pep352.py]=1 # Investigate
[test_pyclbr.py]=1 # Investigate
[test_pwd.py]=1 # Long test - might work? Control flow?
[test_queue.py]=1 # Investigate whether we caused this recently
[test test_select.py]=1 # test takes too long to run: 11 seconds
[test_socket.py]=1 # test takes too long to run: 12 seconds
[test_sys.py]=1 # test assertion failures
[test_trace.py]=1 # Line numbers are expected to be different
[test_urllib2_localnet.py]=1 # test takes too long to run: 12 seconds
[test_urllib2net.py]=1 # test takes too long to run: 11 seconds
[test_zipimport_support.py]=1
[test_zipfile64.py]=1 # Skip Long test
[test_zlib.py]=1 #
# .pyenv/versions/2.6.9/lib/python2.6/lib2to3/refactor.pyc
# .pyenv/versions/2.6.9/lib/python2.6/pyclbr.pyc
)
# About 308 unit-test files, run in about 14 minutes

View File

@@ -89,33 +89,7 @@ case $PYVERSION in
)
;;
2.6)
SKIP_TESTS=(
[test___all__.py]=1 # it fails on its own
[test_aepack.py]=1 # Fails on its own
[test_descr.py]=1
[test_doctest.py]=1 #
[test_dis.py]=1 # We change line numbers - duh!
[test_file.py]=1
[test_generators.py]=1 # Investigate
[test_grp.py]=1 # Long test - might work Control flow?
[test_opcodes.py]=1 # Investigate whether we caused this recently
[test_pep352.py]=1 # Investigate
[test_pyclbr.py]=1 # Investigate
[test_pwd.py]=1 # Long test - might work? Control flow?
[test_queue.py]=1 # Investigate whether we caused this recently
[test test_select.py]=1 # test takes too long to run: 11 seconds
[test_socket.py]=1 # test takes too long to run: 12 seconds
[test_sys.py]=1 # test assertion failures
[test_trace.py]=1 # Line numbers are expected to be different
[test_urllib2_localnet.py]=1 # test takes too long to run: 12 seconds
[test_urllib2net.py]=1 # test takes too long to run: 11 seconds
[test_zipimport_support.py]=1
[test_zipfile64.py]=1 # Skip Long test
[test_zlib.py]=1 #
# .pyenv/versions/2.6.9/lib/python2.6/lib2to3/refactor.pyc
# .pyenv/versions/2.6.9/lib/python2.6/pyclbr.pyc
)
# About 308 unit-test files, run in about 14 minutes
. ./3.3-exclude.sh
if (( batch )) ; then
# Fails in crontab environment?
# Figure out what's up here
@@ -267,6 +241,9 @@ case $PYVERSION in
. ./3.6-exclude.sh
if (( batch )) ; then
SKIP_TESTS[test__locale.py]=1 # Wierd in batch environment
# "test_epoll.py", line 145, in test_control_and_wait
# TypeError: a bytes-like object is required, not 'str'
SKIP_TESTS[test_epol.py]=1 #
fi
;;
3.7)