Jan Breuer
2015-08-31 00d91a58b06f052d179fc0594b00bf9860d42699
libscpi/test/test_parser.c
@@ -445,6 +445,7 @@
int main() {
    unsigned int result;
    CU_pSuite pSuite = NULL;
    /* Initialize the CUnit test registry */
@@ -474,7 +475,8 @@
    /* Run all tests using the CUnit Basic interface */
    CU_basic_set_mode(CU_BRM_VERBOSE);
    CU_basic_run_tests();
    result = CU_get_number_of_tests_failed();
    CU_cleanup_registry();
    return CU_get_error();
    return result ? result : CU_get_error();
}