summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-10-22 15:26:09 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-10-22 15:26:09 (GMT)
commit2158df0b4d8358b5efdcac3024e8cc6d6c92d981 (patch)
tree37b69a6658c89b25d004d36fdb9b245d8e55a9d4 /Lib/test/regrtest.py
parentf10584cb112c89da87d7d4b524851226ee7f9406 (diff)
downloadcpython-2158df0b4d8358b5efdcac3024e8cc6d6c92d981.zip
cpython-2158df0b4d8358b5efdcac3024e8cc6d6c92d981.tar.gz
cpython-2158df0b4d8358b5efdcac3024e8cc6d6c92d981.tar.bz2
Patch #473187: Add a test script that exercises most of the functions in
the curses module. It's not run automatically; '-u curses' must be specified as an argument to regrtest
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 0531896..5d56b92 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -36,6 +36,9 @@ those requiring large file support or network connectivity. The argument is a
comma-separated list of words indicating the resources to test. Currently
only the following are defined:
+ curses - Tests that use curses and will modify the terminal's
+ state and output modes.
+
largefile - It is okay to run some test that may create huge files. These
tests can take a long time and may consume >2GB of disk space
temporarily.
@@ -118,7 +121,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0,
elif o in ('-u', '--use'):
u = [x.lower() for x in a.split(',')]
for r in u:
- if r not in ('largefile', 'network'):
+ if r not in ('curses', 'largefile', 'network'):
usage(1, 'Invalid -u/--use option: %s' % a)
use_resources.extend(u)
if generate and verbose: