From aaa21d922c750f12f1aa5183cd6e7db0a7af196d Mon Sep 17 00:00:00 2001 From: Snaipe Date: Sat, 5 Dec 2015 14:27:28 +0100 Subject: [PATCH] Simplified empty tests & suite placeholders in runner --- src/core/runner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/runner.c b/src/core/runner.c index 79dedb3..091a7e4 100644 --- a/src/core/runner.c +++ b/src/core/runner.c @@ -84,8 +84,8 @@ CR_IMPL_SECTION_LIMITS(struct criterion_test*, cr_tst); CR_IMPL_SECTION_LIMITS(struct criterion_suite*, cr_sts); // This is here to make the test suite & test sections non-empty -TestSuite(); -Test(,) {} +CR_SECTION_("cr_sts") struct criterion_suite *dummy_suite = NULL; +CR_SECTION_("cr_tst") struct criterion_test *dummy_test = NULL; static INLINE void nothing(void) {}