On 10/20/05, Baptiste Lepilleur <bl...@us...> wrote:
> David Rennalls wrote:
> > Hi,
> > The CppUnit2 docs
> > (http://cppunit.sourceforge.net/cppunit-wiki/CppUnit2/ThreadedTestCase)
> > mention support for a ThreadedTestCase, specifically I'm interested in
> > "Merging failures of created thread with the original thread
> > failures". Are there any workarounds to get this behaviour with
> > cppunit 1.10.2 ?
>
> You need to catch the CppUnit::Exception that is thrown in the created
> thread, and rethrow that exception in the original thread.
>
> Baptiste.
>
> ---
> Baptiste Lepilleur <bl...@us...>
> CppUnit maintainer
> OpenTest and CppUnit 2 developer.
Thanks, that works well.
- David
|