[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

/ cpython Public

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.6] bpo-33873: Backport regrtest from master to 3.6 (GH-7935) #7937

Merged
merged 1 commit into from Jun 26, 2018

Conversation

Copy link
Member

vstinner commented Jun 26, 2018

  • bpo-33718: regrtest: use format_duration() to display failed tests (GH-7686)

  • Enhance also format_duration(): work on integers and rounds towards
    +infinity (math.ceil).

  • Write unit tests on format_duration()

(cherry picked from commit 4ffe9c2)

regrtest: Add warning when using less than 3 warmup runs like -R 1:3.
(cherry picked from commit cac4fef)

  • 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.

(cherry picked from commit 58ed730)
(cherry picked from commit d1f9481)

https://bugs.python.org/issue33873

* bpo-33718: regrtest: use format_duration() to display failed tests (pythonGH-7686)

* Enhance also format_duration(): work on integers and rounds towards
  +infinity (math.ceil).
* Write unit tests on format_duration()

(cherry picked from commit 4ffe9c2)

* bpo-33873: regrtest: Add warning on -R 1:3 (pythonGH-7736)

regrtest: Add warning when using less than 3 warmup runs like -R 1:3.
(cherry picked from commit cac4fef)

* bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` parameters (pythonGH-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.

(cherry picked from commit 58ed730)
(cherry picked from commit d1f9481)
vstinner merged commit 1d55888 into python:3.6 Jun 26, 2018
8 checks passed
vstinner deleted the regrtest36 branch Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants