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

Christian Theune ct at gocept.com
Thu Apr 2 07:30:38 EDT 2009


Hi,

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?

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090402/b1217586/attachment.bin 


More information about the Zope-Dev mailing list