]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110722: Make `-m test -T -j` use sys.monitoring (GH-111710)
authorŁukasz Langa <lukasz@langa.pl>
Fri, 10 Nov 2023 17:17:45 +0000 (18:17 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2023 17:17:45 +0000 (18:17 +0100)
commit3932b0f7b1566374427daa8bc47203032015e350
treed7a4c61cda7d382f3e480f56f2ad9edb8ff29d6c
parent0b06d2482d77e02c5d40e221f6046c9c355458b2
gh-110722: Make `-m test -T -j` use sys.monitoring (GH-111710)

Now all results from worker processes are aggregated and
displayed together as a summary at the end of a regrtest run.

The traditional trace is left in place for use with sequential
in-process test runs but now raises a warning that those
numbers are not precise.

`-T -j` requires `--with-pydebug` as it relies on `-Xpresite=`.
13 files changed:
Doc/library/trace.rst
Lib/test/cov.py [new file with mode: 0644]
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/result.py
Lib/test/libregrtest/results.py
Lib/test/libregrtest/run_workers.py
Lib/test/libregrtest/runtests.py
Lib/test/libregrtest/worker.py
Lib/test/support/__init__.py
Lib/test/test_regrtest.py
Lib/trace.py
Misc/NEWS.d/next/Tests/2023-11-03-18-59-13.gh-issue-110722.jvT1pb.rst [new file with mode: 0644]