diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-12-27 18:14:01 -0800 |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-12-27 18:14:01 -0800 |
commit | 3684c79e00ad923fa2400458c1a02d6afa3c5ce8 (patch) | |
tree | 6dfbc0fba72f86545a09b0a8d547d330d2d37f03 /Lib/test | |
parent | 82ee30384c02d26293c41dbb64d9ac36d30bd888 (diff) | |
download | cpython-3684c79e00ad923fa2400458c1a02d6afa3c5ce8.tar.gz cpython-3684c79e00ad923fa2400458c1a02d6afa3c5ce8.zip |
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Diffstat (limited to 'Lib/test')
-rwxr-xr-x | Lib/test/regrtest.py | 4 |
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']) |