]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30258: regrtest handles child process crash (#1431)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 3 May 2017 15:28:28 +0000 (17:28 +0200)
committerGitHub <noreply@github.com>
Wed, 3 May 2017 15:28:28 +0000 (17:28 +0200)
commitc991eb280e60ed25c68a5332bd8633959e9f7113
tree4a4c5ae88c6d1206fd1f5a7029a546822f9b8219
parent15f8d0d360757eb14d4eb2c0fb6a5b3472cec8b3
bpo-30258: regrtest handles child process crash (#1431)

Backport the CHILD_ERROR status from master: a test is considered as
failed if a worker process running a test exited with a code
different than zero.

Change also the output: write stdout and stderr of the child process
after the test name, instead of writing it before.

accumulate_result(): don't use time of CHILD_ERROR or INTERRUPTED
results.
Lib/test/regrtest.py