diff --git a/test/stdlib/2.7-exclude.sh b/test/stdlib/2.7-exclude.sh new file mode 100644 index 00000000..e3223c3e --- /dev/null +++ b/test/stdlib/2.7-exclude.sh @@ -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 # +) diff --git a/test/stdlib/3.5-exclude.sh b/test/stdlib/3.5-exclude.sh index afc89bdc..e199efbd 100644 --- a/test/stdlib/3.5-exclude.sh +++ b/test/stdlib/3.5-exclude.sh @@ -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 diff --git a/test/stdlib/3.6-exclude.sh b/test/stdlib/3.6-exclude.sh index ad1d82e6..580e5022 100644 --- a/test/stdlib/3.6-exclude.sh +++ b/test/stdlib/3.6-exclude.sh @@ -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 diff --git a/test/stdlib/3.7-exclude.sh b/test/stdlib/3.7-exclude.sh index fee9607e..6fa0ad74 100644 --- a/test/stdlib/3.7-exclude.sh +++ b/test/stdlib/3.7-exclude.sh @@ -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 diff --git a/test/stdlib/3.8-exclude.sh b/test/stdlib/3.8-exclude.sh index d2704432..7e6b0a88 100644 --- a/test/stdlib/3.8-exclude.sh +++ b/test/stdlib/3.8-exclude.sh @@ -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 diff --git a/test/stdlib/runtests.sh b/test/stdlib/runtests.sh index 9e1b6aa3..2f71b6a3 100755 --- a/test/stdlib/runtests.sh +++ b/test/stdlib/runtests.sh @@ -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?