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