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