diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-12-28 02:16:32 (GMT) |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-12-28 02:16:32 (GMT) |
commit | 1e4bd53a34a46e44a5e88a6ecc5ea4f102b94b6f (patch) | |
tree | e1dd9e913ed1692b6cfb92bcf30650f421ecd954 | |
parent | 52336f0b50e82bf438b54430e166de5868e9d66e (diff) | |
download | cpython-1e4bd53a34a46e44a5e88a6ecc5ea4f102b94b6f.zip cpython-1e4bd53a34a46e44a5e88a6ecc5ea4f102b94b6f.tar.gz cpython-1e4bd53a34a46e44a5e88a6ecc5ea4f102b94b6f.tar.bz2 |
Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.
-rwxr-xr-x | Lib/test/regrtest.py | 6 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index e098522..84beb8d 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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) @@ -723,6 +723,9 @@ Extension Modules Tests ----- +- Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize + options. + - Issue #16664: Add regression tests for glob's behaviour concerning entries starting with a ".". Patch by Sebastian Kreft. |