cpython/Lib/test/libregrtest
Victor Stinner a56c928756
gh-109162: Refactor libregrtest WorkerJob (#109171)
* Rename --worker-args command line option to --worker-json.
* Rename _parse_worker_args() to _parse_worker_json().
* WorkerJob:

  * Add runtests attribute
  * Remove test_name and rerun attribute

* Rename run_test_in_subprocess() to create_worker_process().
* Rename run_tests_worker() to worker_process().
* create_worker_process() uses json.dump(): write directly JSON to
  stdout.
* Convert MultiprocessResult to a frozen dataclass.
* Rename RunTests.match_tests to RunTests.match_tests_dict.
2023-09-09 01:03:39 +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 WorkerJob (#109171) 2023-09-09 01:03:39 +00:00
main.py gh-109162: Refactor libregrtest WorkerJob (#109171) 2023-09-09 01:03:39 +00:00
pgo.py bpo-10572: Fixup Lib/test/libregrtest/pgo.py (GH-29327) 2021-11-01 09:57:28 +00:00
refleak.py regrtest computes statistics (#108793) 2023-09-02 18:09:36 +02:00
runtest.py gh-109162: Refactor libregrtest WorkerJob (#109171) 2023-09-09 01:03:39 +00:00
runtest_mp.py gh-109162: Refactor libregrtest WorkerJob (#109171) 2023-09-09 01:03:39 +00:00
save_env.py regrtest computes statistics (#108793) 2023-09-02 18:09:36 +02:00
setup.py Run Tools/scripts/reindent.py (#94225) 2022-06-26 10:34:06 +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