blob: f8ce34691a26d8039a3fe4d89012163ed85d2304 (
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
42
43
44
45
46
47
48
|
# testall.py -- a regression test for the Python interpreter.
# To run the tests, execute "import testall" in a clean interpreter.
# It is a good idea to do this whenever you build a new interpreter.
# Remember to add new tests when new features are added!
from test_support import *
print 'test_grammar'
forget('test_grammar')
import test_grammar
print 'test_opcodes'
unload('test_opcodes')
import test_opcodes
print 'test_operations'
unload('test_operations')
import test_operations
print 'test_builtin'
unload('test_builtin')
import test_builtin
print 'test_exceptions'
unload('test_exceptions')
import test_exceptions
print 'test_types'
unload('test_types')
import test_types
print 'test_math'
unload('test_math')
import test_math
print 'test_time'
unload('test_time')
import test_time
print 'test_array'
unload('test_array')
import test_array
print 'test_strop'
unload('test_strop')
import test_strop
print 'Passed all tests.'
|