50 Suite *s = suite_create(
"monster");
51 TCase *tc_core = tcase_create(
"Core");
56 suite_add_tcase(s, tc_core);
57 tcase_add_test(tc_core, test_empty);
65 SRunner *sr = srunner_create(s);
67 srunner_set_xml(sr, LOGDIR
"/unit/random_maps/monster.xml");
68 srunner_set_log(sr, LOGDIR
"/unit/random_maps/monster.out");
69 srunner_run_all(sr, CK_ENV);
70 nf = srunner_ntests_failed(sr);
72 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;