60 Suite *s = suite_create(
"recipe");
61 TCase *tc_core = tcase_create(
"Core");
66 suite_add_tcase(s, tc_core);
67 tcase_add_test(tc_core, test_check_recipes);
68 tcase_add_test(tc_core, test_check_formulae);
76 SRunner *sr = srunner_create(s);
78 srunner_set_xml(sr, LOGDIR
"/unit/common/recipe.xml");
79 srunner_set_log(sr, LOGDIR
"/unit/common/recipe.out");
80 srunner_run_all(sr, CK_ENV);
81 nf = srunner_ntests_failed(sr);
83 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;