1996-12-10 19:51:10 +00:00
|
|
|
# This file now contains only the list of separate regression tests.
|
|
|
|
# All of the testing harness is now contained in autotest.py.
|
1990-12-26 15:40:07 +00:00
|
|
|
|
1996-12-10 19:51:10 +00:00
|
|
|
tests = ['test_grammar',
|
|
|
|
'test_opcodes',
|
|
|
|
'test_operations',
|
|
|
|
'test_builtin',
|
|
|
|
'test_exceptions',
|
|
|
|
'test_types',
|
|
|
|
'test_math',
|
|
|
|
'test_time',
|
|
|
|
'test_array',
|
|
|
|
'test_strop',
|
|
|
|
'test_md5',
|
|
|
|
'test_cmath',
|
|
|
|
'test_crypt',
|
|
|
|
'test_dbm',
|
|
|
|
'test_new',
|
1996-12-11 01:01:09 +00:00
|
|
|
'test_nis',
|
1996-12-11 16:52:56 +00:00
|
|
|
'test_pwd',
|
1996-12-11 21:41:42 +00:00
|
|
|
'test_rgbimg',
|
1996-12-11 23:58:46 +00:00
|
|
|
'test_select',
|
1996-12-12 19:03:11 +00:00
|
|
|
'test_strftime',
|
1996-12-12 23:34:06 +00:00
|
|
|
'test_struct',
|
1996-12-16 20:20:33 +00:00
|
|
|
'test_errno',
|
1996-12-16 20:34:43 +00:00
|
|
|
'test_dl',
|
1996-12-16 23:42:35 +00:00
|
|
|
'test_thread',
|
1996-12-17 00:00:17 +00:00
|
|
|
'test_xdr',
|
1996-12-17 17:41:09 +00:00
|
|
|
'test_fcntl',
|
1996-12-17 19:54:27 +00:00
|
|
|
'test_gdbm',
|
1996-12-18 19:36:34 +00:00
|
|
|
'test_grp',
|
1996-12-18 19:56:22 +00:00
|
|
|
'test_operator',
|
1996-12-20 20:49:06 +00:00
|
|
|
'test_imageop',
|
1996-12-20 21:41:50 +00:00
|
|
|
'test_imgfile',
|
1996-12-20 22:00:21 +00:00
|
|
|
'test_regex',
|
1996-12-23 23:39:42 +00:00
|
|
|
'test_rotor',
|
1996-12-10 19:51:10 +00:00
|
|
|
]
|
1996-12-10 23:10:39 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
# low-overhead testing, for cases where autotest.py harness
|
|
|
|
# doesn't even work!
|
|
|
|
import sys
|
|
|
|
from test_support import *
|
|
|
|
|
|
|
|
for t in tests:
|
|
|
|
print t
|
|
|
|
unload(t)
|
|
|
|
try:
|
|
|
|
__import__(t, globals(), locals())
|
|
|
|
except ImportError, msg:
|
|
|
|
## sys.stderr.write('%s. Uninstalled optional module?\n' % msg)
|
|
|
|
pass
|
|
|
|
|
|
|
|
print 'Passed all tests.'
|