From 30187f774354d6cc0a12fcc5fe7c78bd18cebfc5 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 26 Jul 2023 12:47:31 +0200 Subject: [PATCH] excluded code from coverage analysis --- test/cfoa/reentrancy_check_test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/cfoa/reentrancy_check_test.cpp b/test/cfoa/reentrancy_check_test.cpp index d07c6cdf..b359b983 100644 --- a/test/cfoa/reentrancy_check_test.cpp +++ b/test/cfoa/reentrancy_check_test.cpp @@ -19,10 +19,10 @@ void assertion_failed_msg( throw 0; } -void assertion_failed(char const*, char const*, char const*, long) +void assertion_failed(char const*, char const*, char const*, long) // LCOV_EXCL_START { std::abort(); -} +} // LCOV_EXCL_STOP } @@ -51,27 +51,27 @@ int main() detect_reentrancy([&] { m1.visit_all([&](value_type&) { (void)m1.contains(0); }); - }); + }); // LCOV_EXCL_LINE detect_reentrancy([&] { m1.visit_all([&](value_type&) { m1.rehash(0); }); - }); + }); // LCOV_EXCL_LINE detect_reentrancy([&] { m1.visit_all([&](value_type&) { m2.visit_all([&](value_type&) { m1=m2; - }); + }); // LCOV_EXCL_START }); - }); + }); // LCOV_EXCL_STOP detect_reentrancy([&] { m1.visit_all([&](value_type&) { m2.visit_all([&](value_type&) { m2=m1; - }); + }); // LCOV_EXCL_START }); - }); + }); // LCOV_EXCL_STOP return boost::report_errors(); }