|
From: <bc...@wo...> - 2001-08-24 18:33:00
|
[Mats Wichmann]
>I bet the rest of us can scare up some cycles between us to do
>some testing against other JVMs (you and Finn do so much already!),
>and supply info on the results.
That would be very good.
>On the other hand, what's the general impression on whether
>this is important?
Its important for jython. When jython can run on less common platforms
it gives the impression that jython is easy to incorporate in other
software.
>I just saw some note on IBM's JVM here,
>and Ben's done some work on Kaffe, apparently. I'd be willing
>to do a bit of testing there, too. But then what? What if
>problems are discovered? Do we just add notes on them saying
>"XXX does not appear to work" (period-end-of-story)?
Then you fix the problem by comming up with patches and workarounds
<wink>.
It is general problem with ports. Somebody have to do the work of
testing and analysing the problems that occur. When nobody does, the
platform gets neglected.
What can we do to make it easier to test a JVM? We could add the Jython
and CPython test suites to the installer as an optional component. That
way a fairly good coverage can be achieved by running two scripts.
At the moment you will have to install a CPython-211 and add a line to
your $HOME/.jython file:
python.path=/path/to/Python211/Lib
and run the script below.
regards,
finn
import test.regrtest
tests = [
'test___all__',
'test___future__',
'test_atexit',
'test_augassign',
'test_binascii',
'test_binhex',
'test_bisect',
'test_bufio',
'test_builtin',
'test_cfgparser',
'test_cgi',
#'test_charmapcodec',
#'test_class',
'test_coercion',
#'test_compare',
'test_compile',
'test_complex',
'test_contains',
#'test_cookie',
'test_copy_reg',
'test_cpickle',
# 'test_crypt',
'test_difflib',
#'test_doctest',
'test_dospath',
'test_dumbdbm',
#'test_exceptions',
#'test_extcall',
'test_file',
'test_fnmatch',
'test_format',
'test_funcattrs',
'test_future',
'test_getopt',
'test_global',
#'test_grammar',
'test_gzip',
'test_hash',
'test_import',
'test_long',
'test_mailbox',
'test_math',
'test_md5',
'test_mimetools',
'test_MimeWriter',
'test_new',
'test_ntpath',
'test_opcodes',
#'test_operations',
'test_operator',
'test_pickle',
'test_pkg',
'test_posixpath',
'test_pow',
'test_re',
'test_rfc822',
'test_richcmp',
#'test_scope',
'test_sha',
'test_socket',
#'test_sre',
'test_strftime',
'test_string',
'test_StringIO',
'test_struct',
'test_thread',
'test_threadedtempfile',
'test_time',
'test_tokenize',
'test_types',
#'test_ucn',
'test_unicode',
'test_unpack',
'test_urllib',
'test_urlparse',
'test_userdict',
#'test_userlist',
'test_userstring',
#'test_weakref',
'test_xmllib',
#'test_xreadline',
'test_zipfile',
#'test_zlib',
]
test.regrtest.main(tests)
|