diff options
Diffstat (limited to 'test/unittests/unit_maybe_alloc.c')
-rw-r--r-- | test/unittests/unit_maybe_alloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unittests/unit_maybe_alloc.c b/test/unittests/unit_maybe_alloc.c index 4e093cfe..429d38ed 100644 --- a/test/unittests/unit_maybe_alloc.c +++ b/test/unittests/unit_maybe_alloc.c @@ -156,6 +156,8 @@ int main(int argc, char **argv) { }; //return cmocka_run_group_tests (tests, setup, teardown); - return cmocka_run_group_tests (tests, NULL, NULL); + __real_exit( cmocka_run_group_tests (tests, NULL, NULL) ); + // fake return for dumb compilers + return 0; } |