mirror of https://github.com/python/cpython
Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.
This commit is contained in:
parent
52336f0b50
commit
1e4bd53a34
|
@ -33,7 +33,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*
|
||||
|
@ -274,11 +274,11 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
|
|||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:], 'hvqxsoS:rf:lu:t:TD:NLR:FdwWM:nj:Gm:',
|
||||
['help', 'verbose', 'verbose2', 'verbose3', 'quiet',
|
||||
'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks',
|
||||
'exclude', 'single', 'slow', 'randomize', 'fromfile=', 'findleaks',
|
||||
'use=', 'threshold=', 'coverdir=', 'nocoverdir',
|
||||
'runleaks', 'huntrleaks=', 'memlimit=', 'randseed=',
|
||||
'multiprocess=', 'coverage', 'slaveargs=', 'forever', 'debug',
|
||||
'start=', 'nowindows', 'header', 'failfast', 'match'])
|
||||
'start=', 'nowindows', 'header', 'failfast', 'match='])
|
||||
except getopt.error as msg:
|
||||
usage(msg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue