[Zope-dev] zope.testing.runner: protecting against rogue threads

Marius Gedminas marius at gedmin.as
Thu Apr 2 18:21:17 EDT 2009


On Thu, Apr 02, 2009 at 01:30:38PM +0200, Christian Theune wrote:
> if tests spawn non-daemon threads, then the test runner can get stuck.
> 
> The easiest way that I see is to always --exit-with-status and to make
> --exist-with-status also call sys.exit() when the tests passed.
> 
> Any objections?

+99

I would dearly love to have --exit-with-status on by default, for
unrelated reasons.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3 consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090403/541550cd/attachment.bin 


More information about the Zope-Dev mailing list