]> granicus.if.org Git - python/commit
bpo-38502: regrtest uses process groups if available (GH-16829)
authorVictor Stinner <vstinner@python.org>
Fri, 18 Oct 2019 13:49:08 +0000 (15:49 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Oct 2019 13:49:08 +0000 (15:49 +0200)
commitecb035cd14c11521276343397151929a94018a22
tree34bb11f5c1a5f79996b66bba66472c73188a6959
parent5a88d50ff013a64fbdb25b877c87644a9034c969
bpo-38502: regrtest uses process groups if available (GH-16829)

test.regrtest now uses process groups in the multiprocessing mode
(-jN command line option) if process groups are available: if
os.setsid() and os.killpg() functions are available.
Lib/test/libregrtest/runtest_mp.py
Misc/NEWS.d/next/Tests/2019-10-17-00-49-38.bpo-38502.vUEic7.rst [new file with mode: 0644]