[Exceptional C++ Style] Item 12: Exception Safety: IsitWort hit?
Adrian Fagg
adrianf at evaluategroup.com
Fri Dec 3 05:52:41 EST 2004
> -----Original Message-----
> From: effective-cpp-bounces at accu.org
> [mailto:effective-cpp-bounces at accu.org]On Behalf Of Paul Grenyer
> Sent: 03 December 2004 09:54
> > The partial solution I found was on windows to get the test
> harness to set
> the structured exception handler so
> > that OS exceptions were turned into test failures, and
> everything could
> carry on (apart from the possibility
> > that the bug had just written over something important)
>
> This is what Aeryn does when used with MSVC, but I haven't
> found a platform
> independent solution yet.
My instinct would be to abandon the remaining tests but try to clean up and
report what tests were run correctly. Even running tests in a lightweight
thread doesn't fully isolate them from the rest of the application (still
sharing the address space), although the stack at least won't cause
problems.
Regards,
Adrian
Work: mailto:adrianf at evaluategroup.com
Home: mailto:adrian.fagg at ntlworld.com
Pretty pictures: http://homepage.ntlworld.com/rbyadf/
More information about the Effective-cpp
mailing list