Iztok Jeras
2015-10-07 524524123a12c1c5b22f1e1d2b40ad3692dcd3b2
libscpi/test/test_fifo.c
@@ -82,6 +82,7 @@
}
int main() {
    unsigned int result;
    CU_pSuite pSuite = NULL;
    /* Initialize the CUnit test registry */
@@ -104,6 +105,7 @@
    /* 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();
}