[issue29362] regrtest: don't fail immediately if a child does crash

2017-02-06 Thread STINNER Victor
STINNER Victor added the comment: I fixed regrtest in Python 3.7. Maybe I will backport the fix later to other branches, but I prefer to limit regrtest changes in stable branches. -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue29362] regrtest: don't fail immediately if a child does crash

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99e4e687145a76ac28055a651ee31470496c3ac7 by Victor Stinner in branch 'master': regrtest: don't fail immediately if a child does crash https://github.com/python/cpython/commit/99e4e687145a76ac28055a651ee31470496c3ac7 --

[issue29362] regrtest: don't fail immediately if a child does crash

2017-02-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4446613000a3 by Victor Stinner in branch 'default': regrtest: don't fail immediately if a child does crash https://hg.python.org/cpython/rev/4446613000a3 -- nosy: +python-dev ___ Python tracker

[issue29362] regrtest: don't fail immediately if a child does crash

2017-02-01 Thread STINNER Victor
STINNER Victor added the comment: Attached patch changes libregrtest to handle CHILD_ERROR as a normal result and continue the execution of following tests. As a result, it displays the test summary as usual on such crash. -- Ammar Askar: Thanks for regrtest_crash.diff, but I prefer to

[issue29362] regrtest: don't fail immediately if a child does crash

2017-01-28 Thread Ammar Askar
Ammar Askar added the comment: This patch makes it so that when a child runner crashes during a multiprocess test run, it is treated similar to a keyboard interrupt. That is, the currently running tests will continue to run and immediately after it will print out a summary. I think the test

[issue29362] regrtest: don't fail immediately if a child does crash

2017-01-24 Thread STINNER Victor
New submission from STINNER Victor: When regrtest is used with -jN, regrtest spawn child processes to run tests. If a child crashs, regrtest master process immedialtely fails. It would prefer to be able to continue to run following tests. It's not because a single test crashed that all tests

[issue29362] regrtest: don't fail immediately if a child does crash

2017-01-24 Thread STINNER Victor
STINNER Victor added the comment: At least, I would like to see which tests were executed, which tests failed, total duration, etc. Get a summary! -- ___ Python tracker