summaryrefslogtreecommitdiffstats
path: root/Lib/test/testall.py
blob: 7ad7b88d1faf5fc42675b6a4075d3d8e2b9c5282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This file now contains only the list of separate regression tests.
# All of the testing harness is now contained in autotest.py.

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',
	 'test_nis',
	 'test_pwd',
	 'test_rgbimg',
	 'test_select',
	 'test_strftime',
	 ]

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.'