mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 19:48:07 +00:00
redisplay failed test at the end of all tests
This commit is contained in:
parent
4094aec87a
commit
728e76cdfb
2 changed files with 8 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit f7eab3265577feb885dba012d34a10f1b9be072b
|
||||
Subproject commit 3dbbb23674085d116c4b43063f3cf082b08565ae
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue