Boost logo

Boost :

Subject: Re: [boost] [test] I want my core dumped
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-08-22 23:22:36


AMDG

On 08/22/2018 02:58 AM, Alain Miniussi via Boost wrote:
> I have assert in my library code, but when the assert fire in a test, 
> the main function in minimal.hpp intercept the signal and explains that,
> yes, you asked for an abort, but no:
>
> [...]
> ../../../boost/test/minimal.hpp(136): exception "signal: SIGABRT
> (application abort requested)" caught in function: 'int main(int, char **)'
>
> Is there a way to avoid that behavior ? I need that core file.
>

For the full UTF this is controlled by:

https://www.boost.org/doc/libs/1_68_0/libs/test/doc/html/boost_test/utf_reference/rt_param_reference/catch_system.html

but the minimal test framework is much less configurable.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk