Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeslandes committed Feb 4, 2025
1 parent a048676 commit bea3938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/harness/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ struct CMUnitTest;
*/
#define Test(group, name) \
void group##__##name(bf_unused void **state); \
bf_test __attribute__((section("bf_test"))) __##group##__##name##_test = { \
bf_test __attribute__((section("bf_test"),used)) __##group##__##name##_test = { \
.group_name = BF_STR(group), \
.test_name = BF_STR(name), \
.cb = &group##__##name}; \
void group##__##name(bf_unused void **state)
void __attribute__((used)) group##__##name(bf_unused void **state)

/**
* Fail a test with an error message.
Expand Down

0 comments on commit bea3938

Please sign in to comment.