Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] Still SIGCHLD issues?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-11-16 11:32:50


Boris Schaeling <boris <at> highscore.de> writes:

> > Thanks for the pointer. I was hoping for a provided run-time
> > solution, which would have been the best.
>
> Yes, I agree.

If nothing else works, you can reset signal handler yourself inside
the test case.
 
> > If stuck with a compile-time solution, it would IMHO have been more
> > lenient having to define e.g. BOOST_TEST_HANDLE_NON_ZERO_CHILD_CODE and
> > BOOST_TEST_HANDLE_SIGCHLD rather than having this new behaviour by
> > default. I really can't currently imagine a scenario where I would want
> > this enabled.

Boost.Test is trying to catch all kinds of failures. Child proces crashing or
returning non-zero error code is usual indication of an error.

Gennadiy.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net