blob: 92e7b9fe3fb0fc4e3a716cb890319396e2d51bc1 [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 Rossum217a5fa1990-12-26 15:40:07 +000032print 'Passed all tests.'