cpython/Lib/test/libregrtest
Jeremy Kloth 19058b9f62
bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)
Replace the child process `typeperf.exe` with a daemon thread that reads the performance counters directly.  This prevents the issues that arise from inherited handles in grandchild processes (see issue37531 for discussion).

We only use the load tracker when running tests in multiprocess mode. This prevents inadvertent interactions with tests expecting a single threaded environment.  Displaying load is really only helpful for buildbots running in multiprocess mode anyway.
2022-03-22 00:06:55 +00:00
..
__init__.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
cmdline.py bpo-45745: Remove regrtest --findleaks options (GH-29514) 2021-11-12 16:19:09 +01:00
main.py bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578) 2022-03-22 00:06:55 +00:00
pgo.py bpo-10572: Fixup Lib/test/libregrtest/pgo.py (GH-29327) 2021-11-01 09:57:28 +00:00
refleak.py Fix EncodingWarning in libregrtest (GH-31654) 2022-03-03 16:19:56 +09:00
runtest.py bpo-45745: Remove regrtest --findleaks options (GH-29514) 2021-11-12 16:19:09 +01:00
runtest_mp.py bpo-46205: exit if no workers are alive in runtest_mp (GH-30470) 2022-01-11 12:03:09 +09:00
save_env.py Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951) 2021-12-07 12:31:04 +01:00
setup.py bpo-43592: Raise RLIMIT_NOFILE in test.libregrtest (GH-29127) 2021-10-21 18:22:25 -07:00
utils.py bpo-45410: regrtest -W leaves stdout/err FD unchanged (GH-28915) 2021-10-13 14:08:18 +02:00
win_utils.py bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578) 2022-03-22 00:06:55 +00:00