1.1 --- a/test/main.c Tue Oct 17 16:15:41 2017 +0200 1.2 +++ b/test/main.c Wed Oct 18 12:03:44 2017 +0200 1.3 @@ -232,9 +232,12 @@ 1.4 1.5 ucx_test_run(suite, stdout); 1.6 fflush(stdout); 1.7 + 1.8 + int exit_code = suite->failure > 0 ? EXIT_FAILURE: EXIT_SUCCESS; 1.9 + 1.10 ucx_test_suite_free(suite); 1.11 1.12 - return EXIT_SUCCESS; 1.13 + return exit_code; 1.14 } else { 1.15 ucx_test_suite_free(suite); 1.16 return EXIT_FAILURE;