mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
This commit is contained in:
parent
82ee30384c
commit
3684c79e00
2 changed files with 4 additions and 2 deletions
|
@ -32,7 +32,7 @@ Verbosity
|
||||||
|
|
||||||
Selecting tests
|
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
|
--randseed -- pass a random seed to reproduce a previous random run
|
||||||
-f/--fromfile -- read names of tests to run from a file (see below)
|
-f/--fromfile -- read names of tests to run from a file (see below)
|
||||||
-x/--exclude -- arguments are tests to *exclude*
|
-x/--exclude -- arguments are tests to *exclude*
|
||||||
|
@ -258,7 +258,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
|
||||||
try:
|
try:
|
||||||
opts, args = getopt.getopt(sys.argv[1:], 'hvqxsSrf:lu:t:TD:NLR:FwWM:j:',
|
opts, args = getopt.getopt(sys.argv[1:], 'hvqxsSrf:lu:t:TD:NLR:FwWM:j:',
|
||||||
['help', 'verbose', 'verbose2', 'verbose3', 'quiet',
|
['help', 'verbose', 'verbose2', 'verbose3', 'quiet',
|
||||||
'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks',
|
'exclude', 'single', 'slow', 'randomize', 'fromfile=', 'findleaks',
|
||||||
'use=', 'threshold=', 'trace', 'coverdir=', 'nocoverdir',
|
'use=', 'threshold=', 'trace', 'coverdir=', 'nocoverdir',
|
||||||
'runleaks', 'huntrleaks=', 'memlimit=', 'randseed=',
|
'runleaks', 'huntrleaks=', 'memlimit=', 'randseed=',
|
||||||
'multiprocess=', 'slaveargs=', 'forever', 'header'])
|
'multiprocess=', 'slaveargs=', 'forever', 'header'])
|
||||||
|
|
|
@ -585,6 +585,8 @@ Extension Modules
|
||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
|
||||||
|
|
||||||
- Issue #16618: Add more regression tests for glob.
|
- Issue #16618: Add more regression tests for glob.
|
||||||
Patch by Serhiy Storchaka.
|
Patch by Serhiy Storchaka.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue