Boost logo

Boost Users :

Subject: Re: [Boost-users] [unittest] How to only ignore child terminate?
From: Boris Schaeling (boris_at_[hidden])
Date: 2011-01-25 17:44:11


On Tue, 25 Jan 2011 21:49:38 +0100, Firouzeh Jalilian
<firouzeh02_at_[hidden]> wrote:

> I have a code that is run from the tests that I am running which does
> child.terminate(). That is considered a system error, therefore, I
> would have to set catch_system_errors="no" in order to ignore it. But
> the downside is I miss the rest of system errors I might be interested
> in.
>
> How can I only ignore child.terminate() while running unittests?

If it's a problem with SIGCHLD rebuild your test with
BOOST_TEST_IGNORE_SIGCHLD.

HTH,
Boris


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