cpython/Lib/test/libregrtest
Victor Stinner 0553fdfe30
gh-109162: Refactor libregrtest.runtest_mp (#109205)
* Add attributes to Regrtest and RunTests:

  * fail_env_changed
  * num_workers

* Rename MultiprocessTestRunner to RunWorkers. Add num_workers
  parameters to RunWorkers constructor. Remove RunWorkers.ns
  attribute.
* Rename TestWorkerProcess to WorkerThread.
* get_running() now returns a string like: "running (...): ...".
* Regrtest.action_run_tests() now selects the number of worker
  processes, instead of the command line parser.
2023-09-10 00:24:38 +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 gh-109162: Refactor libregrtest.runtest_mp (#109205) 2023-09-10 00:24:38 +00:00
main.py gh-109162: Refactor libregrtest.runtest_mp (#109205) 2023-09-10 00:24:38 +00:00
pgo.py bpo-10572: Fixup Lib/test/libregrtest/pgo.py (GH-29327) 2021-11-01 09:57:28 +00:00
refleak.py gh-109162: Refactor libregrtest.RunTests (#109177) 2023-09-09 09:18:14 +00:00
runtest.py gh-109162: Refactor libregrtest.runtest_mp (#109205) 2023-09-10 00:24:38 +00:00
runtest_mp.py gh-109162: Refactor libregrtest.runtest_mp (#109205) 2023-09-10 00:24:38 +00:00
save_env.py regrtest computes statistics (#108793) 2023-09-02 18:09:36 +02:00
setup.py gh-109162: libregrtest: remove WorkerJob class (#109204) 2023-09-10 01:41:21 +02:00
utils.py gh-108834: regrtest reruns failed tests in subprocesses (#108839) 2023-09-03 21:37:15 +00: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