Improve failure reporting and add more assertions

Adds BV_NOTHROW, BV_THROWS, and BV_THROWS_ANY.

Improves failure reporting.
This commit is contained in:
2026-06-27 05:41:58 +02:00
parent ee17a68d3d
commit 9361f6094c
10 changed files with 343 additions and 395 deletions
+6 -2
View File
@@ -73,11 +73,15 @@ namespace bitshift::validate
try {
tc.run();
}
catch (ignore const&) {
catch (ignored const&) {
execute_teardown(r);
return kExecuteIgnored;
}
catch (assertion_failure const& failure) {
catch (passed const&) {
// No-op.
//
}
catch (failure const& failure) {
failure.report(r);
execute_teardown(r);
return kExecuteFailed;