diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2018-06-26 14:17:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 14:17:26 (GMT) |
commit | 58ed7307ea0b5c5aa052291ebc3030f314f938d8 (patch) | |
tree | 8dd98ecb282b6e71b2f07cab9ee69c3b40134234 /Misc | |
parent | 866c168a5f9330d8a3ae109fa8baab2509f35cc7 (diff) | |
download | cpython-58ed7307ea0b5c5aa052291ebc3030f314f938d8.zip cpython-58ed7307ea0b5c5aa052291ebc3030f314f938d8.tar.gz cpython-58ed7307ea0b5c5aa052291ebc3030f314f938d8.tar.bz2 |
bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` parameters (GH-7735)
Fix bug in `Lib/test/libregrtest/runtest.py` that makes running tests an extra time than the specified number of runs.
Add check for invalid --huntrleaks/-R parameters.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2018-06-16-01-37-31.bpo-33873.d86vab.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2018-06-16-01-37-31.bpo-33873.d86vab.rst b/Misc/NEWS.d/next/Tests/2018-06-16-01-37-31.bpo-33873.d86vab.rst new file mode 100644 index 0000000..f4f4255 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2018-06-16-01-37-31.bpo-33873.d86vab.rst @@ -0,0 +1,4 @@ +Fix a bug in ``regrtest`` that caused an extra test to run if +--huntrleaks/-R was used. Exit with error in case that invalid +parameters are specified to --huntrleaks/-R (at least one warmup +run and one repetition must be used). |