redisplay failed test at the end of all tests

This commit is contained in:
Gautier Pelloux-Prayer 2014-06-05 17:50:17 +02:00
parent 4094aec87a
commit 728e76cdfb
2 changed files with 8 additions and 1 deletions

@ -1 +1 @@
Subproject commit f7eab3265577feb885dba012d34a10f1b9be072b
Subproject commit 3dbbb23674085d116c4b43063f3cf082b08565ae

View file

@ -403,6 +403,13 @@ int liblinphone_tester_run_tests(const char *suite_name, const char *test_name)
}
ret=CU_get_number_of_tests_failed()!=0;
/* Redisplay list of failed tests on end */
if (CU_get_number_of_failure_records()){
CU_basic_show_failures(CU_get_failure_list());
printf("\n");
}
CU_cleanup_registry();
return ret;
}