48 for (
auto art : al->
items) {
60 #define KEY "check_artifact"
61 #define VALUE "all is right!"
74 Suite *s = suite_create(
"artifact");
75 TCase *tc_core = tcase_create(
"Core");
76 tcase_set_timeout(tc_core, 60);
81 suite_add_tcase(s, tc_core);
82 tcase_add_test(tc_core, test_face_for_each_artifact);
83 tcase_add_test(tc_core, test_artifact_key_value);
91 SRunner *sr = srunner_create(s);
93 srunner_set_xml(sr, LOGDIR
"/unit/common/artifact.xml");
94 srunner_set_log(sr, LOGDIR
"/unit/common/artifact.out");
95 srunner_run_all(sr, CK_ENV);
96 nf = srunner_ntests_failed(sr);
98 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;