51 Suite *s = suite_create(
"lowlevel");
52 TCase *tc_core = tcase_create(
"Core");
57 suite_add_tcase(s, tc_core);
58 tcase_add_test(tc_core, test_empty);
66 SRunner *sr = srunner_create(s);
68 srunner_set_xml(sr, LOGDIR
"/unit/socket/lowlevel.xml");
69 srunner_set_log(sr, LOGDIR
"/unit/socket/lowlevel.out");
70 srunner_run_all(sr, CK_ENV);
71 nf = srunner_ntests_failed(sr);
73 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;