Skip to content

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

Merged
vstinner merged 2 commits intopython:masterfrom
vstinner:format_duration
Jun 14, 2018
Merged

bpo-33718: regrtest: use format_duration() to display failed tests#7686
vstinner merged 2 commits intopython:masterfrom
vstinner:format_duration

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Jun 14, 2018

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

https://bugs.python.org/issue33718

* Enhance also format_duration(): work on integers and rounds towards
  infinity (math.ceil).
* Write unit tests on format_duration()
@vstinner vstinner merged commit 4ffe9c2 into python:master Jun 14, 2018
@vstinner vstinner deleted the format_duration branch June 14, 2018 12:59
vstinner added a commit that referenced this pull request 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)

* bpo-33873: regrtest: Add warning on -R 1:3 (GH-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 (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)
vstinner added a commit that referenced this pull request 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)

* bpo-33873: regrtest: Add warning on -R 1:3 (GH-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 (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)
vstinner added a commit that referenced this pull request 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)

* bpo-33873: regrtest: Add warning on -R 1:3 (GH-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 (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)
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.

3 participants