| Version 23 (modified by scottmc, 2 years ago) (diff) |
|---|
Python Regression Test Checklist
Python comes with a lot of regression tests, most are already passing on Haiku, but a handful aren't. This page will serve as a place to keep track of the progress in fixing the various tests, or explaining why it's ok that they are failing on Haiku.
- ~/develop/python/Lib/test> python regrtest.py
| test_grammar | passed | |
| test_opcodes | passed | |
| test_dict | passed | |
| test_builtin | passed | |
| test_exceptions | passed | |
| test_types | passes now | |
| test_unittest | passed | |
| test_doctest | passed | |
| test_doctest2 | passed | |
| test_MimeWriter | passed | |
| test_SimpleHTTPServer | passed | |
| test_StringIO | passed | |
| test___all__ | passed | |
| test___future__ | passed | |
| test__locale | passes now | |
| test_abc | passed | |
| test_abstract_numbers | passed | |
| test_aepack | skipped | -- No module named aepack - apple only |
| test_al | skipped | -- No module named al - sgi/IRIX only |
| test_anydbm | passed | |
| test_applesingle | skipped | -- No module named macostools - apple only |
| test_array | passed | |
| test_ast | passed | |
| test_asynchat | stalls | this one stalls, so renamed to skip it for now |
| test_asyncore | passed | |
| test_atexit | passed | |
| test_audioop | passed | |
| test_augassign | passed | |
| test_base64 | passed | |
| test_bastion | passed | |
| test_bigaddrspace | passed | |
| test_bigmem | passed | |
| test_binascii | passed | |
| test_binhex | passed | |
| test_binop | passed | |
| test_bisect | passed | |
| test_bool | passed | |
| test_bsddb | skipped | -- No module named _bsddb |
| test_bsddb185 | skipped | -- No module named bsddb185 |
| test_bsddb3 | skipped | -- Use of the `bsddb' resource not enabled |
| test_buffer | passed | |
| test_bufio | passed | |
| test_bytes | passed | |
| test_bz2 | passed | |
| test_calendar | passed | |
| test_call | passed | |
| test_capi | passed | |
| test_cd | skipped | -- No module named cd - sgi/IRIX only |
| test_cfgparser | passed | |
| test_cgi | passed | |
| test_charmapcodec | passed | |
| test_cl | skipped | -- No module named cl - sgi/IRIX only |
| test_class | passed | |
| test_cmath | passes now | |
| test_cmd | passed | |
| test_cmd_line | passed | |
| test_cmd_line_script | passed | |
| test_code | passed | |
| test_codeccallbacks | passed | |
| test_codecencodings_cn | passed | |
| test_codecencodings_hk | passed | |
| test_codecencodings_jp | passed | |
| test_codecencodings_kr | passed | |
| test_codecencodings_tw | passed | |
| test_codecmaps_cn | passed | -- Use -uurlfetch to run this test |
| test_codecmaps_hk | passed | -- Use -uurlfetch to run this test |
| test_codecmaps_jp | passed | -- Use -uurlfetch to run this test |
| test_codecmaps_kr | passed | -- Use -uurlfetch to run this test |
| test_codecmaps_tw | passed | -- Use -uurlfetch to run this test |
| test_codecs | passed | |
| test_codeop | passed | |
| test_coding | passed | |
| test_coercion | passed | |
| test_collections | passed | |
| test_colorsys | passed | |
| test_commands | passed | |
| test_compare | passed | |
| test_compile | passed | |
| test_compiler | passed | |
| test_complex | passed | |
| test_complex_args | passed | |
| test_contains | passed | |
| test_contextlib | passed | |
| test_cookie | passed | |
| test_cookielib | passed | |
| test_copy | passed | |
| test_copy_reg | passed | |
| test_cpickle | passed | |
| test_cprofile | passed | |
| test_crypt | passed | |
| test_csv | passed | |
| test_ctypes | passed | |
| test_curses | skipped | Need to have ncurses and use -ucurses to enable the test also see Haiku ticket #3345 crash output |
| test_datetime | passed | |
| test_dbm | skipped | try again with dbm installed |
| test_decimal | passes now | |
| test_decorators | passed | |
| test_defaultdict | passed | |
| test_deque | passed | |
| test_descr | passed | |
| test_descrtut | passed | |
| test_difflib | passed | |
| test_dircache | passes now | test_dircache output |
| test_dis | passed | |
| test_distutils | failed | -- errors occurred; run in verbose mode for details |
| test_dl | skipped | -- Could not open any shared libraries (try adding: ('libroot.so', 'getpid'), into test_dl.py near line 10 |
| test_docxmlrpc | passed | |
| test_dumbdbm | passed | |
| test_dummy_thread | passed | |
| test_dummy_threading | passed | |
| test_email | passed | |
| test_email_codecs | passed | |
| test_email_renamed | passed | |
| test_enumerate | passed | |
| test_eof | passed | |
| test_epoll | skipped | -- test works only on Linux 2.6 |
| test_errno | passed | |
| test_exception_variations | passed | |
| test_extcall | passed | |
| test_fcntl | passed | |
| test_file | passed | |
| test_filecmp | passed | |
| test_fileinput | passed | |
| test_fileio | passes now | |
| test_float | passes now | |
| test_fnmatch | passed | |
| test_fork1 | passed | |
| test_format | passed | |
| test_fpformat | passed | |
| test_fractions | passed | |
| test_frozen | passed | |
| test test_ftplib | failed | thread related failure |
| test_funcattrs | passed | |
| test_functools | passed | |
| test_future | passed | |
| test_future3 | passed | |
| test_future4 | passed | |
| test_future5 | passed | |
| test_future_builtins | passed | |
| test_gc | passed | |
| test_gdbm | skipped | -- No module named gdbm - need to test with gdbm installed |
| test_generators | passed | |
| test_genericpath | passed | |
| test_genexps | passed | |
| test_getargs | passed | |
| test_getargs2 | passed | |
| test_getopt | passed | |
| test_gettext | passed | |
| test_gl | skipped | -- No module named gl - sgi test only |
| test_glob | passed | |
| test_global | passed | |
| test_grp | passed | |
| test_gzip | passed | |
| test_hash | passed | |
| test_hashlib | passed | |
| test_heapq | passed | |
| test_hmac | passed | |
| test_hotshot | failed | causes a segmentation fault |
| test_htmllib | passed | |
| test_htmlparser | passed | |
| test_httplib.py | passed | |
| test_httpservers.py | failed | can't allocate lock |
| test_imageop | passed | |
| test_imaplib | passed | |
| test_imgfile | skipped | -- No module named imgfile - sgi/IRIX only |
| test_imp | passed | |
| test_import | passed | |
| test_importhooks | passed | |
| test_index | passed | |
| test_inspect | passed | |
| test_int | passed | |
| test_int_literal | passed | |
| test_io | passed | |
| test_ioctl | passed | |
| test_isinstance | passed | |
| test_iter | passed | |
| test_iterlen | passed | |
| test_itertools | passed | |
| test_json | passes now | |
| test_kqueue | skipped | -- test works only on BSD |
| test_largefile | passed | |
| test_lib2to3 | skipped | -- No module named myfixes |
| test_linuxaudiodev | skipped | -- Use of the `audio' resource not enabled |
| test_list | passed | |
| test_locale | passed | |
| test_logging | passed | |
| test_long | passed | |
| test_long_future | passed | |
| test_longexp | passed | |
| test_macos | skipped | -- No module named MacOS - apple only |
| test_macostools | skipped | -- No module named macostools - apple only |
| test_macpath | passed | |
| test_mailbox | failed | test_mailbox.py output |
| test_marshal | passes now | |
| test_math | passes now | |
| test_md5 | passed | |
| test_memoryio | passed | |
| test_mhlib | passed | |
| test_mhlib | failed | wide char related? |
| test_mimetools | passed | |
| test_mimetypes | passed | |
| test_minidom | passed | |
| test_mmap | passed | |
| test_module | passed | |
| test_modulefinder | passed | |
| test_multibytecodec | passed | |
| test_multibytecodec_support | passed | |
| test_multifile | passed | |
| test_multiprocessing | stalls | this test stalls, and won't exit |
| test_mutants | passed | |
| test_mutex | passed | |
| test_netrc | passed | |
| test_new | passed | |
| test_nis | skipped | -- No module named nis |
| test_normalization | passed | Use -uurlfetch to run this test |
| test_ntpath | passed | |
| test_old_mailbox | failed | -- errors occurred; run in verbose mode for details |
| test_openpty | passed | |
| test_operator | passed | |
| test_optparse | passed | |
| test_os | failed | test_utime_dir failed due to floating point value for st_mtime |
| test_ossaudiodev | skipped | -- Use of the `audio' resource not enabled |
| test_parser | passed | |
| test_peepholer | passed | |
| test_pep247 | passed | |
| test_pep263 | passed | |
| test_pep277 | skipped | -- test works only on NT+ |
| test_pep292 | passed | |
| test_pep352 | passed | |
| test_pickle | passed | |
| test_pickletools | passed | |
| test_pipes | passed | |
| test_pkg | passed | |
| test_pkgimport | passed | |
| test_pkgutil | passed | |
| test_platform | passed | |
| test_plistlib | passed | |
| test_poll | passed | |
| test_popen | passed | |
| test_popen2 | passed | |
| test_poplib | passed | |
| test_poplib | passes now | |
| test_posix | passes now | |
| test_posixpath | passed | |
| test_pow | passed | |
| test_pprint | passed | |
| test_print | passed | |
| test_profile | passed | |
| test_profilehooks | passed | |
| test_property | passed | |
| test_pstats | passed | |
| test_pty | failed | test_pty.py output |
| test_pwd | passed | |
| test_py3kwarn | skipped | -- test.test_py3kwarn must be run with the -3 flag |
| test_pyclbr | passed | |
| test_pydoc | passed | |
| test_pyexpat | passed | |
| test_queue | passed | |
| test_quopri | passed | |
| test_random | passes now | |
| test_re | passed | |
| test_repr | passed | |
| test_resource | failed | haiku ticket #3353 |
| test_rfc822 | passed | |
| test_richcmp | passed | |
| test_robotparser | passed | |
| test_runpy | passed | |
| test_sax | passed | |
| test_scope | passed | |
| test_scriptpackages | skipped | -- No module named aetools - apple only |
| test_select | passed | |
| test_set | passed | |
| test_sets | passed | |
| test_sgmllib | passed | |
| test_sha | passed | |
| test_shelve | passed | |
| test_shlex | passed | |
| test_shutil | failed | -- errors occurred; run in verbose mode for details - hardlinks not supported on haiku |
| test_signal | passes now | |
| test_site | passed | |
| test_slice | passed | |
| test_smtplib | failed | -- errors occurred; run in verbose mode for details |
| test_socket | failed | can't allocate lock |
| test_socketserver | failed | can't allocate lock |
| test_softspace | passed | |
| test_sort | passed | |
| test_sqlite | passed | |
| test_ssl | fails intermittently | fails when entire suite is run; passes when run standalone |
| test_startfile | skipped | -- cannot import name startfile |
| test_str | passed | |
| test_strftime | passed | |
| test_string | passed | |
| test_stringprep | passed | |
| test_strop | passed | |
| test_strptime | passed | |
| test_struct | passed | |
| test_structmembers | passed | |
| test_structseq | passed | |
| test_subprocess | failed | test_leaking_fds_on_error and test_list2cmdline |
| test_sunaudiodev | skipped | -- No module named sunaudiodev - Solaris only |
| test_sundry | passed | |
| test_symtable | passed | |
| test_syntax | passed | |
| test_sys | passed | |
| test_tarfile | failed | -- errors occurred; run in verbose mode for details - hardlink issues? |
| test_tcl | skipped | -- No module named _tkinter - tcl/tkinter not ported to haiku yet |
| test_telnetlib | passed | |
| test_tempfile | passed | |
| test_textwrap | passed | |
| test_thread | passes now | |
| test_threaded_import | passed | |
| test_threadedtempfile | passed | |
| test_threading | failed | test_threading.py output |
| test_threading_local | passed | |
| test_threadsignals | passed | |
| test_time | passed | |
| test_timeout | failed | Use -unetwork to run this test |
| test_tokenize | passed | |
| test_trace | passed | |
| test_traceback | passed | |
| test_transformer | passed | |
| test_tuple | passed | |
| test_typechecks | passed | |
| test_ucn | passed | |
| test_unary | passed | |
| test_undocumented_details | passed | |
| test_unicode | passed | |
| test_unicode_file | skipped | -- No Unicode filesystem semantics on this platform. |
| test_unicodedata | passed | |
| test_univnewlines | passed | |
| test_unpack | passed | |
| test_urllib | passed | |
| test_urllib2 | passed | |
| test_urllib2_localnet | passed | |
| test_urllib2net | skipped | Use -unetwork to run this test |
| test_urllibnet | skipped | Use -unetwork to run this test |
| test_urlparse | passed | |
| test_userdict | passed | |
| test_userlist | passed | |
| test_userstring | passed | |
| test_uu | passed | |
| test_uuid | failed | can't resolve hostname from socket.gethostname() |
| test_wait3 | skipped | -- os.wait3 not defined -- skipping test_wait3 |
| test_wait4 | skipped | -- os.wait4 not defined -- skipping test_wait4 |
| test_warnings | passed | |
| test_wave | passed | |
| test_weakref | passed | |
| test_whichdb | passed | |
| test_winreg | passed | |
| test_winreg | skipped | -- No module named _winreg - Windows only |
| test_winsound | skipped | -- No module named winsound - Windows only |
| test_with | passed | |
| test_wsgiref | passed | |
| test_xdrlib | passed | |
| test_xml_etree | passed | |
| test_xml_etree_c | passed | |
| test_xmllib | passed | |
| test_xmlrpc | passed | |
| test_xpickle | passed | |
| test_xrange | passed | |
| test_zipfile | passed | |
| test_zipfile64 | skipped | -- test requires loads of disk-space bytes and a long time to run |
| test_zipimport | passed | |
| test_zipimport_support | passed | |
| test_zlib | passed |
If a test passes, replace the test case file (test_foo.py) with the stock version, and also remove its name from _expected["haiku1"] in regrtest.py.
