Merge branch 'c_unit_testing' of https://github.com/fjoncourt/fwknop into c_unit_testing
Conflicts: client/config_init.c common/cunit_common.h lib/cunit_common.c server/access.c
This commit is contained in:
@@ -35,13 +35,13 @@ int register_ts(c_unit_test_suite_t *ts)
|
||||
/* add the tests to the suite */
|
||||
for (ix_utest=0 ; ix_utest<ts->nb_c_unit_test ; ix_utest++)
|
||||
{
|
||||
c_unit_test_t* utest = &(ts->test_array[ix_utest]);
|
||||
if (NULL == CU_add_test(pSuite, utest->description, utest->func))
|
||||
{
|
||||
CU_cleanup_registry();
|
||||
return CU_get_error();
|
||||
}
|
||||
c_unit_test_t* utest = &(ts->test_array[ix_utest]);
|
||||
if (NULL == CU_add_test(pSuite, utest->description, utest->func))
|
||||
{
|
||||
CU_cleanup_registry();
|
||||
return CU_get_error();
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user