catch2/tests/SelfTest
Martin Hořeňovský 0a3f511cfe
Fix inconsistencies in reporting benchmarking failures
With these changes, all these benchmarks
```cpp
BENCHMARK("Empty benchmark") {};
BENCHMARK("Throwing benchmark") {
    throw "just a plain literal, bleh";
};
BENCHMARK("Asserting benchmark") {
    REQUIRE(1 == 2);
};
BENCHMARK("FAIL'd benchmark") {
    FAIL("This benchmark only fails, nothing else");
};
```

report the respective failure and mark the outer `TEST_CASE` as
failed. Previously, the first two would not fail the `TEST_CASE`,
and the latter two would break xml reporter's formatting, because
`benchmarkFailed`, `benchmarkEnded` etc would not be be called
properly in failure cases.
2021-08-07 15:16:11 +02:00
..
Baselines Fix ulp distance calculation for numbers with different signs 2021-07-27 21:04:41 +02:00
IntrospectiveTests Fix inconsistencies in reporting benchmarking failures 2021-08-07 15:16:11 +02:00
Misc Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
TimingTests Increase timing window for min duration tests to 1s 2021-02-20 23:09:02 +01:00
UsageTests Fix ulp distance calculation for numbers with different signs 2021-07-27 21:04:41 +02:00
TestRegistrations.cpp Split EventListener base from streaming_base.hpp 2020-08-29 19:09:54 +02:00
WarnAboutNoTests.cmake Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00