]> granicus.if.org Git - python/commit
bpo-36670: Multiple regrtest bugfixes (GH-16511)
authorVictor Stinner <vstinner@redhat.com>
Tue, 1 Oct 2019 10:29:36 +0000 (12:29 +0200)
committerGitHub <noreply@github.com>
Tue, 1 Oct 2019 10:29:36 +0000 (12:29 +0200)
commit982bfa4da07b2e5749a0f4e68f99e972bcc3a549
tree9581db8d39159df09c590df363341da654cc965e
parent8462a4936b3a551dc546a6adea04a70b0a07ca67
bpo-36670: Multiple regrtest bugfixes (GH-16511)

* Windows: Fix counter name in WindowsLoadTracker. Counter names are
  localized: use the registry to get the counter name. Original
  change written by Lorenz Mende.
* Regrtest.main() now ensures that the Windows load tracker is also
  killed if an exception is raised
* TestWorkerProcess now ensures that worker processes are no longer
  running before exiting: kill also worker processes when an
  exception is raised.
* Enhance regrtest messages and warnings: include test name,
  duration, add a worker identifier, etc.
* Rename MultiprocessRunner to TestWorkerProcess
* Use print_warning() to display warnings.

Co-Authored-By: Lorenz Mende <Lorenz.mende@gmail.com>
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtest_mp.py
Lib/test/libregrtest/win_utils.py