Added missing section stop symbols for MSVC

This commit is contained in:
Snaipe 2015-09-05 23:46:27 +02:00
parent 4bad96df64
commit 4ccabada40
2 changed files with 14 additions and 0 deletions

View file

@ -57,6 +57,18 @@ f_report_hook SECTION_START_(HOOK_SECTION(POST_TEST));
f_report_hook SECTION_START_(HOOK_SECTION(POST_FINI)); 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_SUITE));
f_report_hook SECTION_START_(HOOK_SECTION(POST_ALL)); 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));
#endif #endif
IMPL_CALL_REPORT_HOOKS(PRE_ALL); IMPL_CALL_REPORT_HOOKS(PRE_ALL);

View file

@ -47,6 +47,8 @@
#ifdef _MSC_VER #ifdef _MSC_VER
struct criterion_test SECTION_START_(cr_tst); struct criterion_test SECTION_START_(cr_tst);
struct criterion_suite SECTION_START_(cr_sts); struct criterion_suite SECTION_START_(cr_sts);
struct criterion_test SECTION_STOP_(cr_tst);
struct criterion_suite SECTION_STOP_(cr_sts);
#endif #endif
IMPL_SECTION_LIMITS(struct criterion_test, cr_tst); IMPL_SECTION_LIMITS(struct criterion_test, cr_tst);