--- a/cunit.c +++ b/cunit.c @@ -131,5 +131,6 @@ CU_basic_set_mode (CU_BRM_VERBOSE); CU_basic_run_tests (); CU_cleanup_registry (); + return CU_get_error (); }