blob: b472c7fe8f120d56cee3e7e40a8bac85dedf2c03 [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',
19 ]
Barry Warsaw2e644a01996-12-10 23:10:39 +000020
21if __name__ == '__main__':
22 # low-overhead testing, for cases where autotest.py harness
23 # doesn't even work!
24 import sys
25 from test_support import *
26
27 for t in tests:
28 print t
29 unload(t)
30 try:
31 __import__(t, globals(), locals())
32 except ImportError, msg:
33## sys.stderr.write('%s. Uninstalled optional module?\n' % msg)
34 pass
35
36 print 'Passed all tests.'