You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Split out 2.7 runtest exclusions...
Note why test_compile.py will always fail.
This commit is contained in:
34
test/stdlib/2.7-exclude.sh
Normal file
34
test/stdlib/2.7-exclude.sh
Normal file
@@ -0,0 +1,34 @@
|
||||
SKIP_TESTS=(
|
||||
[test_bsddb3.py]=1 # test takes too long to run: 110 seconds
|
||||
[test_compile.py]=1 # Code introspects on co_consts in a non-decompilable way
|
||||
[test_curses.py]=1 # Possibly fails on its own but not detected
|
||||
[test_cmd_line.py]=1 # Takes too long, maybe hangs, or looking for interactive input?
|
||||
[test_dis.py]=1 # We change line numbers - duh!
|
||||
[test_doctest.py]=1 # Fails on its own
|
||||
[test_exceptions.py]=1
|
||||
[test_format.py]=1 # Control flow "and" vs nested "if"
|
||||
[test_grammar.py]=1 # Too many stmts. Handle large stmts
|
||||
[test_grp.py]=1 # test takes to long, works interactively though
|
||||
[test_io.py]=1 # Test takes too long to run
|
||||
[test_ioctl.py]=1 # Test takes too long to run
|
||||
[test_lib2to3.py]=1 # test takes too long to run: 28 seconds
|
||||
[test_math.py]=1
|
||||
[test_memoryio.py]=1 # FIX
|
||||
[test_modulefinder.py]=1 # FIX
|
||||
[test_multiprocessing.py]=1 # On uncompyle2, takes 24 secs
|
||||
[test_poll.py]=1 # test takes too long to run: 11 seconds
|
||||
[test_pwd.py]=1 # Takes too long
|
||||
[test_regrtest.py]=1 #
|
||||
[test_runpy.py]=1 # Long and fails on its own
|
||||
[test_select.py]=1 # Runs okay but takes 11 seconds
|
||||
[test_socket.py]=1 # Runs ok but takes 22 seconds
|
||||
[test_ssl.py]=1 #
|
||||
[test_subprocess.py]=1 # Runs ok but takes 22 seconds
|
||||
[test_sys_settrace.py]=1 # Line numbers are expected to be different
|
||||
[test_tokenize.py]=1 # test takes too long to run: 19 seconds
|
||||
[test_traceback.py]=1 # Line numbers change - duh.
|
||||
[test_unicode.py]=1 # Too long to run 11 seconds
|
||||
[test_xpickle.py]=1 # Runs ok but takes 72 seconds
|
||||
[test_zipfile64.py]=1 # Runs ok but takes 204 seconds
|
||||
[test_zipimport.py]=1 #
|
||||
)
|
@@ -24,7 +24,7 @@ SKIP_TESTS=(
|
||||
[test_codecs.py]=1 # test assertion failure
|
||||
[test_collections.py]=1
|
||||
[test_colorsys.py]=1 # Doesn't terminate
|
||||
[test_compile.py]=1
|
||||
[test_compile.py]=1 # Code introspects on co_consts in a non-decompilable way
|
||||
[test_concurrent_futures.py]=1 # Takes long
|
||||
[test_configparser.py]=1 # Doesn't terminate
|
||||
[test_coroutines.py]=1 # Syntax error Investigate
|
||||
|
@@ -35,7 +35,7 @@ SKIP_TESTS=(
|
||||
[test_codecs.py]=1
|
||||
[test_colorsys.py]=1 # Doesn't terminate
|
||||
[test_collections.py]= # it fails on its own
|
||||
[test_compile.py]=1
|
||||
[test_compile.py]=1 # Code introspects on co_consts in a non-decompilable way
|
||||
[test_concurrent_futures.py]=1 # Takes long
|
||||
[test_configparser.py]=1 # Doesn't terminate
|
||||
[test_contains.py]=1 # Code "while False: yield None" is optimized away in compilation
|
||||
|
@@ -14,7 +14,7 @@ SKIP_TESTS=(
|
||||
[test_cmd_line_script.py]=1
|
||||
[test_compare.py]=1 # Weird test assert faiure AssertionError: [1] == [1]
|
||||
[test_compileall.py]=1 # fails on its own
|
||||
[test_compile.py]=1 # test assertion failures
|
||||
[test_compile.py]=1 # Code introspects on co_consts in a non-decompilable way
|
||||
[test_configparser.py]=1 # takes too long to run. Works on decompyle3 though I think.
|
||||
[test_concurrent_futures.py]=1 # too long
|
||||
[test_context.py]=1
|
||||
|
@@ -21,6 +21,7 @@ SKIP_TESTS=(
|
||||
[test_context.py]=1
|
||||
[test_coroutines.py]=1 # Parse error
|
||||
[test_codecs.py]=1
|
||||
[test_compile.py]=1 # Parse error, but after that, the code introspects on co_consts in a non-decompilable way
|
||||
[test_complex.py]=1 # Investigate
|
||||
[test_crypt.py]=1 # Parse error
|
||||
[test_ctypes.py]=1 # it fails on its own
|
||||
|
@@ -87,40 +87,7 @@ case $PYVERSION in
|
||||
fi
|
||||
;;
|
||||
2.7)
|
||||
SKIP_TESTS=(
|
||||
[test_bsddb3.py]=1 # test takes too long to run: 110 seconds
|
||||
[test_compile.py]=1 # Investigate: unable to find constant 0j in (None, 0.0)
|
||||
[test_curses.py]=1 # Possibly fails on its own but not detected
|
||||
[test_cmd_line.py]=1 # Takes too long, maybe hangs, or looking for interactive input?
|
||||
[test_dis.py]=1 # We change line numbers - duh!
|
||||
[test_doctest.py]=1 # Fails on its own
|
||||
[test_exceptions.py]=1
|
||||
[test_format.py]=1 # Control flow "and" vs nested "if"
|
||||
[test_grammar.py]=1 # Too many stmts. Handle large stmts
|
||||
[test_grp.py]=1 # test takes to long, works interactively though
|
||||
[test_io.py]=1 # Test takes too long to run
|
||||
[test_ioctl.py]=1 # Test takes too long to run
|
||||
[test_lib2to3.py]=1 # test takes too long to run: 28 seconds
|
||||
[test_math.py]=1
|
||||
[test_memoryio.py]=1 # FIX
|
||||
[test_modulefinder.py]=1 # FIX
|
||||
[test_multiprocessing.py]=1 # On uncompyle2, takes 24 secs
|
||||
[test_poll.py]=1 # test takes too long to run: 11 seconds
|
||||
[test_pwd.py]=1 # Takes too long
|
||||
[test_regrtest.py]=1 #
|
||||
[test_runpy.py]=1 # Long and fails on its own
|
||||
[test_select.py]=1 # Runs okay but takes 11 seconds
|
||||
[test_socket.py]=1 # Runs ok but takes 22 seconds
|
||||
[test_ssl.py]=1 #
|
||||
[test_subprocess.py]=1 # Runs ok but takes 22 seconds
|
||||
[test_sys_settrace.py]=1 # Line numbers are expected to be different
|
||||
[test_tokenize.py]=1 # test takes too long to run: 19 seconds
|
||||
[test_traceback.py]=1 # Line numbers change - duh.
|
||||
[test_unicode.py]=1 # Too long to run 11 seconds
|
||||
[test_xpickle.py]=1 # Runs ok but takes 72 seconds
|
||||
[test_zipfile64.py]=1 # Runs ok but takes 204 seconds
|
||||
[test_zipimport.py]=1 #
|
||||
)
|
||||
. ./2.7-exclude.sh
|
||||
# About 335 unit-test remaining files run in about 20 minutes and 11 seconds
|
||||
if (( batch )) ; then
|
||||
# Fails in crontab environment?
|
||||
|
Reference in New Issue
Block a user