blob: 62b16a4295d2bd9c7ae25999f7aa7ce784e88eb1 [file] [log] [blame]
Barry Warsaw272c00b1996-12-10 19:51:10 +00001# This file now contains only the list of separate regression tests.
2# All of the testing harness is now contained in autotest.py.
Guido van Rossum217a5fa1990-12-26 15:40:07 +00003
Barry Warsaw272c00b1996-12-10 19:51:10 +00004tests = ['test_grammar',
5 'test_opcodes',
6 'test_operations',
7 'test_builtin',
8 'test_exceptions',
9 'test_types',
10 'test_math',
11 'test_time',
12 'test_array',
13 'test_strop',
14 'test_md5',
15 'test_cmath',
16 'test_crypt',
17 'test_dbm',
18 'test_new',
Barry Warsaw78226811996-12-11 01:01:09 +000019 'test_nis',
Barry Warsawebfa2c41996-12-11 16:52:56 +000020 'test_pwd',
Barry Warsaw8bc74ce1996-12-11 21:41:42 +000021 'test_rgbimg',
Barry Warsaw792c94a1996-12-11 23:58:46 +000022 'test_select',
Guido van Rossum483705c1996-12-12 19:03:11 +000023 'test_strftime',
Barry Warsaw07a0eec1996-12-12 23:34:06 +000024 'test_struct',
Roger E. Masse8ba76d31996-12-16 20:20:33 +000025 'test_errno',
Roger E. Massee00d4da1996-12-16 20:34:43 +000026 'test_dl',
Barry Warsawaf0a1a61996-12-16 23:42:35 +000027 'test_thread',
Barry Warsaw237efc51996-12-17 00:00:17 +000028 'test_xdr',
Roger E. Massefb01d4b1996-12-17 17:41:09 +000029 'test_fcntl',
Roger E. Masse62a017c1996-12-17 19:54:27 +000030 'test_gdbm',
Barry Warsaw272c00b1996-12-10 19:51:10 +000031 ]
Barry Warsaw2e644a01996-12-10 23:10:39 +000032
33if __name__ == '__main__':
34 # low-overhead testing, for cases where autotest.py harness
35 # doesn't even work!
36 import sys
37 from test_support import *
38
39 for t in tests:
40 print t
41 unload(t)
42 try:
43 __import__(t, globals(), locals())
44 except ImportError, msg:
45## sys.stderr.write('%s. Uninstalled optional module?\n' % msg)
46 pass
47
48 print 'Passed all tests.'