summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2018-06-26 14:17:26 (GMT)
committerGitHub <noreply@github.com>2018-06-26 14:17:26 (GMT)
commit58ed7307ea0b5c5aa052291ebc3030f314f938d8 (patch)
tree8dd98ecb282b6e71b2f07cab9ee69c3b40134234 /Misc
parent866c168a5f9330d8a3ae109fa8baab2509f35cc7 (diff)
downloadcpython-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.rst4
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).