all repos — mgba @ a1d5c58ce0dcce902d1aaf3a9ee033af5ed17ed7

mGBA Game Boy Advance Emulator

Test: Fix failure count
Jeffrey Pfau jeffrey@endrift.com
Sat, 22 Oct 2016 16:13:45 -0700
commit

a1d5c58ce0dcce902d1aaf3a9ee033af5ed17ed7

parent

bdfb1b72be8f2441c205856f614e6ce463cc7ced

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/util/test/suite.hsrc/util/test/suite.h

@@ -13,7 +13,7 @@

#define M_TEST_DEFINE(NAME) static void NAME (void **state ATTRIBUTE_UNUSED) #define M_TEST_SUITE(NAME) _testSuite_ ## NAME -#define M_TEST_SUITE_RUN(NAME) printf("\nRunning suite %s\n", # NAME), M_TEST_SUITE(NAME)() +#define M_TEST_SUITE_RUN(NAME) (printf("\nRunning suite %s\n", # NAME), M_TEST_SUITE(NAME)()) #define M_TEST_SUITE_DEFINE(NAME, ...) M_TEST_SUITE_DEFINE_EX(NAME, NULL, NULL, __VA_ARGS__) #define M_TEST_SUITE_DEFINE_SETUP(NAME, ...) M_TEST_SUITE_DEFINE_EX(NAME, _testSuite_setup_ ## NAME, NULL, __VA_ARGS__) #define M_TEST_SUITE_DEFINE_TEARDOWN(NAME, ...) M_TEST_SUITE_DEFINE_EX(NAME, NULL, _testSuite_teardown_ ## NAME, __VA_ARGS__)