diff options
-rw-r--r-- | test.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,7 @@ #include <stdbool.h> #include <stdint.h> #include <stdio.h> +#include <stdlib.h> #include "pack.h" @@ -143,6 +144,7 @@ TEST(pack_simple_general, "pack simple general") int main(void) { extern struct test __start_tests, __stop_tests; + int ret = EXIT_SUCCESS; pack_trace = PACK_TRACE_OFF; @@ -157,5 +159,8 @@ int main(void) fprintf(stderr, "<<<\n"); pack_trace = PACK_TRACE_OFF; printf("FAIL %s\n", t->desc); + ret = EXIT_FAILURE; } + + return ret; } |