• Victor Stinner's avatar
    bpo-36670: Multiple regrtest bugfixes (GH-16511) · 982bfa4d
    Victor Stinner authored
    * 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: default avatarLorenz Mende <Lorenz.mende@gmail.com>
    982bfa4d
runtest_mp.py 13.3 KB