24 size_t num =
sizeof(suites)/
sizeof(
void*);
29 sr = srunner_create((suites[0])());
30 for(i = 1; i < num; i++) {
34 #ifdef LWIP_UNITTESTS_NOFORK
35 srunner_set_fork_status(sr, CK_NOFORK);
37 #ifdef LWIP_UNITTESTS_FORK
38 srunner_set_fork_status(sr, CK_FORK);
41 srunner_run_all(sr, CK_NORMAL);
42 number_failed = srunner_ntests_failed(sr);
44 return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;