[New-bugs-announce] [issue11727] Add a --timeout option to regrtest.py using the faulthandler module

STINNER Victor report at bugs.python.org
Thu Mar 31 12:19:45 CEST 2011


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

I would be nice to add a timeout option to regrtest.py to be able to dump the traceback after TIMEOUT seconds and also exit the process. It would help debugging timeout issues (e.g. test_multiprocessing ), but also protect buildbots against evil (long) tests.

Attached patch implements this feature.

----------
components: Tests
files: regrtest_timeout.patch
keywords: buildbot, patch
messages: 132643
nosy: haypo
priority: normal
severity: normal
status: open
title: Add a --timeout option to regrtest.py using the faulthandler module
versions: Python 3.3
Added file: http://bugs.python.org/file21488/regrtest_timeout.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11727>
_______________________________________


More information about the New-bugs-announce mailing list