catch2/tests
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
..
ExtraTests Increase timing window for min duration tests to 1s 2021-02-20 23:09:02 +01:00
SelfTest Fix inconsistencies in reporting benchmarking failures 2021-08-07 15:16:11 +02:00
TestScripts Fix how testRandomOrder.py builds tag arguments 2020-07-26 10:51:55 +02:00
CMakeLists.txt Fix inconsistencies in reporting benchmarking failures 2021-08-07 15:16:11 +02:00