summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2004-08-07 19:25:33 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2004-08-07 19:25:33 (GMT)
commit4336eda88640695b23790e4f52de9ee92c7fee73 (patch)
tree6ca34a9bac7f93e0bdc2870fd82293a6ee67d79f /Lib/test/regrtest.py
parent32dbddafd52f23622b5a49afd6f9c679f783be0d (diff)
downloadcpython-4336eda88640695b23790e4f52de9ee92c7fee73.zip
cpython-4336eda88640695b23790e4f52de9ee92c7fee73.tar.gz
cpython-4336eda88640695b23790e4f52de9ee92c7fee73.tar.bz2
Add a trivial test for the compiler package, guarded by compiler resource.
This test is insanely slow, so it requires a resource. On my machine, it also appears to dump core. I think the problem is a stack overflow, but haven't been able to confirm.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index e1ad55d..fc7c633 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -83,6 +83,10 @@ resources to test. Currently only the following are defined:
decimal - Test the decimal module against a large suite that
verifies compliance with standards.
+ compiler - Test the compiler package by compiling all the source
+ in the standard library and test suite. This takes
+ a long time.
+
To enable all resources except one, use '-uall,-<resource>'. For
example, to run all the tests except for the bsddb tests, give the
option '-uall,-bsddb'.
@@ -126,7 +130,7 @@ if sys.platform == 'darwin':
from test import test_support
RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb',
- 'decimal')
+ 'decimal', 'compiler')
def usage(code, msg=''):