aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-12-27 18:14:01 -0800
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-12-27 18:14:01 -0800
commit3684c79e00ad923fa2400458c1a02d6afa3c5ce8 (patch)
tree6dfbc0fba72f86545a09b0a8d547d330d2d37f03 /Lib/test
parent82ee30384c02d26293c41dbb64d9ac36d30bd888 (diff)
downloadcpython-3684c79e00ad923fa2400458c1a02d6afa3c5ce8.tar.gz
cpython-3684c79e00ad923fa2400458c1a02d6afa3c5ce8.zip
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index f01dcef308a..dd47cc36e01 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -32,7 +32,7 @@ Verbosity
Selecting tests
--r/--random -- randomize test execution order (see below)
+-r/--randomize -- randomize test execution order (see below)
--randseed -- pass a random seed to reproduce a previous random run
-f/--fromfile -- read names of tests to run from a file (see below)
-x/--exclude -- arguments are tests to *exclude*
@@ -258,7 +258,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
try:
opts, args = getopt.getopt(sys.argv[1:], 'hvqxsSrf:lu:t:TD:NLR:FwWM:j:',
['help', 'verbose', 'verbose2', 'verbose3', 'quiet',
- 'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks',
+ 'exclude', 'single', 'slow', 'randomize', 'fromfile=', 'findleaks',
'use=', 'threshold=', 'trace', 'coverdir=', 'nocoverdir',
'runleaks', 'huntrleaks=', 'memlimit=', 'randseed=',
'multiprocess=', 'slaveargs=', 'forever', 'header'])