catch2/include
Martin Hořeňovský 7a8a0205b4 CATCH_CONFIG_FAST_COMPILE now disables trys in REQUIRE*
This seems to give about 15% speedup when compiling tests using GCC.

The tradeoff is that under certain circumstances, there is a chance for
false negative result, when the expression under test throws exception
and the test code catches it before it gets to the test runner.

Example:
``` cpp
TEST_CASE("False negative") {
try {
REQUIRE(throws() == "");
} catch (...) {}
}
```
This test case will succeed, reporting no assertions checked, instead of
failing as it would with `CATCH_CONFIG_FAST_COMPILE` disabled. However,
just removing the try-catch block inside client's code will fix this, so
it is worthwhile.

This change does not apply to CHECK* macros, because these are currently
specified as continuing on exception and thus need the local try-catch
to work as intended.
2017-03-17 13:21:40 +01:00
..
external Don’t assume first CL arg (exe name) is present 2017-03-13 11:00:58 +00:00
internal CATCH_CONFIG_FAST_COMPILE now disables trys in REQUIRE* 2017-03-17 13:21:40 +01:00
reporters Save errno before using sprintf, ifstream. 2017-03-06 21:51:22 +01:00
catch_session.hpp Updated embedded Clara to 0.0.2.3 2016-04-23 13:21:29 +01:00
catch_with_main.hpp Fixed catch_with_main.hpp (no longer references deleted catch_runner.hpp) 2015-12-28 15:06:04 +00:00
catch.hpp CATCH_CONFIG_FAST_COMPILE now disables trys in REQUIRE* 2017-03-17 13:21:40 +01:00