]> granicus.if.org Git - python/commit
bpo-30258: regrtest: Fix run_tests_multiprocess() (#1479)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 9 May 2017 09:34:01 +0000 (11:34 +0200)
committerGitHub <noreply@github.com>
Tue, 9 May 2017 09:34:01 +0000 (11:34 +0200)
commit74683fc6247c522ae955a6e7308b8ff51def35d8
treeefc54a62e658f26c9fe66e257f4740923307096b
parent9da408d15bdef624a5632182cb4edf98001fa82f
bpo-30258: regrtest: Fix run_tests_multiprocess() (#1479)

If the child process exited with a non-zero code, don't strip the
last line of stdout anymore.

Add also a sanity check in accumulate_result().
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtest_mp.py