58 Suite *s = suite_create(
"bug");
59 TCase *tc_core = tcase_create(
"Core");
63 suite_add_tcase(s, tc_core);
64 tcase_add_test(tc_core, test_apply);
65 tcase_set_timeout(tc_core, 0);
73 SRunner *sr = srunner_create(s);
75 srunner_set_fork_status(sr, CK_NOFORK);
79 srunner_set_xml(sr, LOGDIR
"/bugs/bugtrack/883.xml");
80 srunner_set_log(sr, LOGDIR
"/bugs/bugtrack/883.out");
81 srunner_run_all(sr, CK_ENV);
82 nf = srunner_ntests_failed(sr);
84 return nf == 0 ? EXIT_SUCCESS : EXIT_FAILURE;