Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

catch_system_errors

If option catch_system_errors has value "no" the Unit Test Framework does not attempt to catch asynchronous system failures (signals on *NIX platforms or structured exceptions on Windows). This can be used for test programs executed within an IDE or to get a coredump for a stack analysis. See usage recommendations pages for more details.

[Note] Note

If the Unit Test Framework detects that the current process is being run under a debugger, the catch_system_errors is automatically disabled.

Acceptable values

Boolean with default value no.

[Note] Note

The Unit Test Framework can be built with flag BOOST_TEST_DEFAULTS_TO_CORE_DUMP in which case default changes to yes

Command line syntax
Environment variable
BOOST_TEST_CATCH_SYSTEM_ERRORS

PrevUpHomeNext