int main(UNUSED int argc, UNUSED char *argv[]) { int nfail; SRunner *sr; sr = srunner_create(blank_suite()); srunner_add_suite(sr, main_suite()); srunner_add_suite(sr, opts_suite()); srunner_add_suite(sr, dynbuf_suite()); srunner_add_suite(sr, cert_suite()); srunner_add_suite(sr, cachemgr_suite()); srunner_add_suite(sr, cachefkcrt_suite()); srunner_add_suite(sr, cachetgcrt_suite()); srunner_add_suite(sr, cachedsess_suite()); srunner_add_suite(sr, cachessess_suite()); srunner_add_suite(sr, ssl_suite()); srunner_add_suite(sr, sys_suite()); srunner_add_suite(sr, base64_suite()); srunner_add_suite(sr, url_suite()); srunner_add_suite(sr, util_suite()); srunner_add_suite(sr, pxythrmgr_suite()); srunner_run_all(sr, CK_NORMAL); nfail = srunner_ntests_failed(sr); srunner_free(sr); return !nfail ? EXIT_SUCCESS : EXIT_FAILURE; }
int main(void) { int num_failed; Suite *s = main_suite(); SRunner *sr = srunner_create(s); srunner_run_all(sr, CK_VERBOSE); num_failed = srunner_ntests_failed(sr); srunner_free(sr); return (num_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE; }
int main (void) { int nf; SRunner *sr = srunner_create (main_suite()); srunner_add_suite (sr, date_suite()); srunner_run_all (sr, CK_NORMAL); nf = srunner_ntests_failed (sr); srunner_free (sr); return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; }
int main(int argc, char ** argv) { int number_failed; SRunner *sr = srunner_create(main_suite()); srunner_set_fork_status(sr, CK_NOFORK); // add the suites to the main suite srunner_add_suite(sr, rdf_term_suite()); srunner_add_suite(sr, rdf_term_set_suite()); srunner_add_suite(sr, rdf_graph_suite()); srunner_add_suite(sr, shape_impl_suite()); srunner_add_suite(sr, shape_impl_geometry_suite()); srunner_run_all(sr, CK_NORMAL); number_failed = srunner_ntests_failed (sr); srunner_free (sr); return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE; }
int main (void) { int num_fail; Suite *main, *socket; SRunner *sr; main = main_suite (); socket = socket_suite (); sr = srunner_create (main); srunner_add_suite (sr, socket); srunner_run_all (sr, CK_VERBOSE); num_fail = srunner_ntests_failed (sr); srunner_free (sr); return (num_fail == 0) ? EXIT_SUCCESS : EXIT_FAILURE; }