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
..
2014-03-17 18:40:58 +00:00
2017-02-14 09:16:54 +00:00
2017-02-13 14:12:22 +01:00
2017-03-06 09:23:31 +00:00
2017-03-13 15:40:21 +00:00
2014-05-19 18:57:14 +01:00
2017-03-13 15:40:21 +00:00
2015-07-28 18:55:11 +01:00
2017-02-13 14:12:22 +01:00
2014-03-17 18:40:58 +00:00
2017-03-13 21:29:30 +01:00