Barry Warsaw | 272c00b | 1996-12-10 19:51:10 +0000 | [diff] [blame] | 1 | # 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 Rossum | 217a5fa | 1990-12-26 15:40:07 +0000 | [diff] [blame] | 3 | |
Barry Warsaw | 272c00b | 1996-12-10 19:51:10 +0000 | [diff] [blame] | 4 | tests = ['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 Warsaw | 7822681 | 1996-12-11 01:01:09 +0000 | [diff] [blame] | 19 | 'test_nis', |
Barry Warsaw | ebfa2c4 | 1996-12-11 16:52:56 +0000 | [diff] [blame] | 20 | 'test_pwd', |
Barry Warsaw | 8bc74ce | 1996-12-11 21:41:42 +0000 | [diff] [blame] | 21 | 'test_rgbimg', |
Barry Warsaw | 792c94a | 1996-12-11 23:58:46 +0000 | [diff] [blame] | 22 | 'test_select', |
Guido van Rossum | 483705c | 1996-12-12 19:03:11 +0000 | [diff] [blame] | 23 | 'test_strftime', |
Barry Warsaw | 07a0eec | 1996-12-12 23:34:06 +0000 | [diff] [blame] | 24 | 'test_struct', |
Roger E. Masse | 8ba76d3 | 1996-12-16 20:20:33 +0000 | [diff] [blame] | 25 | 'test_errno', |
Roger E. Masse | e00d4da | 1996-12-16 20:34:43 +0000 | [diff] [blame] | 26 | 'test_dl', |
Barry Warsaw | af0a1a6 | 1996-12-16 23:42:35 +0000 | [diff] [blame] | 27 | 'test_thread', |
Barry Warsaw | 237efc5 | 1996-12-17 00:00:17 +0000 | [diff] [blame] | 28 | 'test_xdr', |
Roger E. Masse | fb01d4b | 1996-12-17 17:41:09 +0000 | [diff] [blame] | 29 | 'test_fcntl', |
Roger E. Masse | 62a017c | 1996-12-17 19:54:27 +0000 | [diff] [blame] | 30 | 'test_gdbm', |
Roger E. Masse | 749cc6b | 1996-12-18 19:36:34 +0000 | [diff] [blame] | 31 | 'test_grp', |
Barry Warsaw | a09ec19 | 1996-12-18 19:56:22 +0000 | [diff] [blame] | 32 | 'test_operator', |
Roger E. Masse | 47e9830 | 1996-12-20 20:49:06 +0000 | [diff] [blame] | 33 | 'test_imageop', |
Roger E. Masse | 033d91b | 1996-12-20 21:41:50 +0000 | [diff] [blame] | 34 | 'test_imgfile', |
Barry Warsaw | 4b72278 | 1996-12-20 22:00:21 +0000 | [diff] [blame] | 35 | 'test_regex', |
Barry Warsaw | 5e056bb | 1996-12-23 23:39:42 +0000 | [diff] [blame] | 36 | 'test_rotor', |
Barry Warsaw | 272c00b | 1996-12-10 19:51:10 +0000 | [diff] [blame] | 37 | ] |
Barry Warsaw | 2e644a0 | 1996-12-10 23:10:39 +0000 | [diff] [blame] | 38 | |
| 39 | if __name__ == '__main__': |
| 40 | # low-overhead testing, for cases where autotest.py harness |
| 41 | # doesn't even work! |
| 42 | import sys |
| 43 | from test_support import * |
| 44 | |
| 45 | for t in tests: |
| 46 | print t |
| 47 | unload(t) |
| 48 | try: |
| 49 | __import__(t, globals(), locals()) |
| 50 | except ImportError, msg: |
| 51 | ## sys.stderr.write('%s. Uninstalled optional module?\n' % msg) |
| 52 | pass |
| 53 | |
| 54 | print 'Passed all tests.' |