diff --git a/src/report.c b/src/report.c index 1658d98..5809bfd 100644 --- a/src/report.c +++ b/src/report.c @@ -58,17 +58,17 @@ f_report_hook SECTION_START_(HOOK_SECTION(POST_FINI)); f_report_hook SECTION_START_(HOOK_SECTION(POST_SUITE)); f_report_hook SECTION_START_(HOOK_SECTION(POST_ALL)); -f_report_hook SECTION_STOP_(HOOK_SECTION(PRE_ALL)); -f_report_hook SECTION_STOP_(HOOK_SECTION(PRE_SUITE)); -f_report_hook SECTION_STOP_(HOOK_SECTION(PRE_INIT)); -f_report_hook SECTION_STOP_(HOOK_SECTION(PRE_TEST)); -f_report_hook SECTION_STOP_(HOOK_SECTION(ASSERT)); -f_report_hook SECTION_STOP_(HOOK_SECTION(THEORY_FAIL)); -f_report_hook SECTION_STOP_(HOOK_SECTION(TEST_CRASH)); -f_report_hook SECTION_STOP_(HOOK_SECTION(POST_TEST)); -f_report_hook SECTION_STOP_(HOOK_SECTION(POST_FINI)); -f_report_hook SECTION_STOP_(HOOK_SECTION(POST_SUITE)); -f_report_hook SECTION_STOP_(HOOK_SECTION(POST_ALL)); +f_report_hook SECTION_END_(HOOK_SECTION(PRE_ALL)); +f_report_hook SECTION_END_(HOOK_SECTION(PRE_SUITE)); +f_report_hook SECTION_END_(HOOK_SECTION(PRE_INIT)); +f_report_hook SECTION_END_(HOOK_SECTION(PRE_TEST)); +f_report_hook SECTION_END_(HOOK_SECTION(ASSERT)); +f_report_hook SECTION_END_(HOOK_SECTION(THEORY_FAIL)); +f_report_hook SECTION_END_(HOOK_SECTION(TEST_CRASH)); +f_report_hook SECTION_END_(HOOK_SECTION(POST_TEST)); +f_report_hook SECTION_END_(HOOK_SECTION(POST_FINI)); +f_report_hook SECTION_END_(HOOK_SECTION(POST_SUITE)); +f_report_hook SECTION_END_(HOOK_SECTION(POST_ALL)); #endif IMPL_CALL_REPORT_HOOKS(PRE_ALL); diff --git a/src/runner.c b/src/runner.c index 2bed26a..a9dabba 100644 --- a/src/runner.c +++ b/src/runner.c @@ -47,8 +47,8 @@ #ifdef _MSC_VER struct criterion_test SECTION_START_(cr_tst); struct criterion_suite SECTION_START_(cr_sts); -struct criterion_test SECTION_STOP_(cr_tst); -struct criterion_suite SECTION_STOP_(cr_sts); +struct criterion_test SECTION_END_(cr_tst); +struct criterion_suite SECTION_END_(cr_sts); #endif IMPL_SECTION_LIMITS(struct criterion_test, cr_tst);