On Thu, 2009-04-02 at 13:30 +0200, Christian Theune wrote:
> 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?

I forgot an alternative solution:

Make the test runner patch the Thread class to turn all threads into
daemons during testing.

-- 
Christian Theune · c...@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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to