diff -r 1fe84a84a2d2 Lib/test/regrtest.py --- a/Lib/test/regrtest.py Fri Oct 23 16:27:46 2015 +1100 +++ b/Lib/test/regrtest.py Mon Oct 26 19:16:53 2015 +0800 @@ -1204,7 +1204,8 @@ """, 'java': """ - # Not supportable on Java, or at least requires additional emulation in Jython + # Not supportable on Java, or at least requires additional emulation + # in Jython test__locale test__rawffi test_aepack @@ -1220,10 +1221,22 @@ test_cd test_cl test_closuregen + + # require urlfetch + test_codecmaps_cn + test_codecmaps_hk + test_codecmaps_jp + test_codecmaps_kr + test_codecmaps_tw + test_ctypes test_dl + test_dummy_threading # skip unexpected; cannot import _newFunctionThread test_fcntl test_fork1 + # Rare failures depending on timing of Java gc + # If frequency increases should exclude + fix + reinclude + # test_gc test_gdb test_gdbm test_getargs2 @@ -1269,6 +1282,9 @@ test_winsound test_zipfile64 + # Not yet Jython 3.x + test_lib2to3 + # Could rewrite these tests test_descr test_epoll @@ -1289,11 +1305,25 @@ # Requires Python bytecode compilation support test_longexp + # No module named _multibytecodec + test_multibytecodec + + # No module named _testcapi + test_ucn + + # Requires servlet + test___all__ + # Nonreliable tests test_asynchat test_asyncore + test_logging + test_select test_select_new + # Rare failures observed on timing tests but often passes + test_threading + # Command line testing is hard for Jython to do, but revisit test_cmd_line_script @@ -1308,8 +1338,6 @@ test_sys_setprofile # revisit for GC test_sys_settrace # revisit for line jumping - # Not yet Jython 3.x - test_lib2to3 """ } _expectations['freebsd5'] = _expectations['freebsd4'] @@ -1325,29 +1353,35 @@ test_codecencodings_iso2022 test_codecencodings_jp test_codecencodings_kr - test_codecencodings_tw - test_codecmaps_cn - test_codecmaps_hk - test_codecmaps_jp - test_codecmaps_kr - test_codecmaps_tw + test_compiler test_dis - test_dummy_threading test_eof test_frozen # not meaningful for Jython, although it is similar to Clamp singlejar - test_gc # test_gc_jy replaces this test_iterlen - test_multibytecodec - test_multibytecodec_support test_peepholer test_pyclbr test_pyexpat test_stringprep test_threadsignals test_transformer - test_ucn test_zipimport + # fails on Windows standalone, probably shouldn't + test_file2k + test_httpservers + test_netrc + test_runpy + test_shutil # Operation not permitted errors + test_socket + test_sys + test_tarfile + test_urllib2 + test_zipfile + # fails on Windows standalone too, but more embarassing as java specific + test_os_jy + test_subprocess_jy + # passes standalone on Windows but fails in full regrtest + test_sys_jy """, } diff -r 1fe84a84a2d2 README.txt --- a/README.txt Fri Oct 23 16:27:46 2015 +1100 +++ b/README.txt Mon Oct 26 19:16:53 2015 +0800 @@ -28,6 +28,13 @@ either case, the memo file regrtest_memo.txt will be useful in the bug report if you see test failures. The regression tests can take about half an hour. +To test new versions by running the regression tests, run jython_regrtest.bat or + +jython -m test.regrtest -e -m regrtest_memo.txt + +(The memo file regrtest_memo.txt will be useful in the bug report if you +see test failures or other bugs) + Please see ACKNOWLEDGMENTS for details about Jython's copyright, license, contributors, and mailing lists; and NEWS for detailed release notes, including bugs fixed, backwards breaking changes, and