50 Suite *s = suite_create(
"egoitem");
51 TCase *tc_core = tcase_create(
"Core");
56 suite_add_tcase(s, tc_core);
57 tcase_add_test(tc_core, test_empty);
65 SRunner *sr = srunner_create(s);
67 srunner_set_xml(sr, LOGDIR
"/unit/server/egoitem.xml");
68 srunner_set_log(sr, LOGDIR
"/unit/server/egoitem.out");
69 srunner_run_all(sr, CK_ENV);
70 nf = srunner_ntests_failed(sr);
72 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
END_TEST Suite * egoitem_suite(void)