summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-12-28 02:14:01 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-12-28 02:14:01 (GMT)
commit3684c79e00ad923fa2400458c1a02d6afa3c5ce8 (patch)
tree6dfbc0fba72f86545a09b0a8d547d330d2d37f03
parent82ee30384c02d26293c41dbb64d9ac36d30bd888 (diff)
downloadcpython-3684c79e00ad923fa2400458c1a02d6afa3c5ce8.zip
cpython-3684c79e00ad923fa2400458c1a02d6afa3c5ce8.tar.gz
cpython-3684c79e00ad923fa2400458c1a02d6afa3c5ce8.tar.bz2
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
-rwxr-xr-xLib/test/regrtest.py4
-rw-r--r--Misc/NEWS2
2 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index f01dcef..dd47cc3 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'])
diff --git a/Misc/NEWS b/Misc/NEWS
index 6c0e000..38413bd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -585,6 +585,8 @@ Extension Modules
Tests
-----
+- Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
+
- Issue #16618: Add more regression tests for glob.
Patch by Serhiy Storchaka.