blob: aef9cdcd0ae1cf0d7ed2f75391e4b84bcb71412a [file] [log] [blame]
Guido van Rossum0bf32e31992-01-27 16:57:38 +00001# testall.py -- a regression test for the Python interpreter.
2# To run the tests, execute "import testall" in a clean interpreter.
3# It is a good idea to do this whenever you build a new interpreter.
4# Remember to add new tests when new features are added!
Guido van Rossum217a5fa1990-12-26 15:40:07 +00005
Guido van Rossum0bf32e31992-01-27 16:57:38 +00006from test_support import *
Guido van Rossum217a5fa1990-12-26 15:40:07 +00007
Guido van Rossum0bf32e31992-01-27 16:57:38 +00008print 'test_grammar'
9forget('test_grammar')
10import test_grammar
Guido van Rossum217a5fa1990-12-26 15:40:07 +000011
Guido van Rossum0bf32e31992-01-27 16:57:38 +000012print 'test_opcodes'
13unload('test_opcodes')
14import test_opcodes
Guido van Rossum217a5fa1990-12-26 15:40:07 +000015
Guido van Rossum0bf32e31992-01-27 16:57:38 +000016print 'test_operations'
17unload('test_operations')
18import test_operations
Guido van Rossum217a5fa1990-12-26 15:40:07 +000019
Guido van Rossum0bf32e31992-01-27 16:57:38 +000020print 'test_builtin'
21unload('test_builtin')
22import test_builtin
Guido van Rossum217a5fa1990-12-26 15:40:07 +000023
Guido van Rossum0bf32e31992-01-27 16:57:38 +000024print 'test_exceptions'
25unload('test_exceptions')
26import test_exceptions
Guido van Rossum217a5fa1990-12-26 15:40:07 +000027
Guido van Rossum85f18201992-11-27 22:53:50 +000028print 'test_types'
29unload('test_types')
30import test_types
31
Guido van Rossumfcce6301996-08-08 18:26:25 +000032print 'test_math'
33unload('test_math')
34import test_math
35
Barry Warsaw6ab7f071996-12-06 23:30:49 +000036print 'test_time'
37unload('test_time')
38import test_time
39
Guido van Rossum217a5fa1990-12-26 15:40:07 +000040print 'Passed all tests.'