]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36719: regrtest -jN no longer stops on crash (GH-13231)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 13 May 2019 17:55:07 +0000 (10:55 -0700)
committerGitHub <noreply@github.com>
Mon, 13 May 2019 17:55:07 +0000 (10:55 -0700)
commit19464bcd97436cd8d5d9e32b70faf3e1e5f2a712
tree2e89be6957f664faddf0d8107519ce18a1bc6f62
parent68a11b6e6a73cd2e9b49e5df9973877b2fed6277
bpo-36719: regrtest -jN no longer stops on crash (GH-13231)

"python3 -m test -jN ..." now continues the execution of next tests
when a worker process crash (CHILD_ERROR state). Previously, the test
suite stopped immediately. Use --failfast to stop at the first error.

Moreover, --forever now also implies --failfast.
(cherry picked from commit b0917df329ba14b7bc6fa782c1b61e7a2163af0b)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtest.py
Lib/test/libregrtest/runtest_mp.py
Misc/NEWS.d/next/Tests/2019-05-10-01-50-30.bpo-36719.O84ZWv.rst [new file with mode: 0644]