c_client.py: Handle multiple expr. in a bitcase
[free-sw/xcb/libxcb] / tests / check_all.c
1 #include <stdlib.h>
2 #include "check_suites.h"
3
4 void suite_add_test(Suite *s, TFun tf, const char *name)
5 {
6         TCase *tc = tcase_create(name);
7         tcase_add_test(tc, tf);
8         suite_add_tcase(s, tc);
9 }
10
11 int main(void)
12 {
13         int nf;
14         SRunner *sr = srunner_create(public_suite());
15         srunner_set_xml(sr, "CheckLog_xcb.xml");
16         srunner_run_all(sr, CK_NORMAL);
17         nf = srunner_ntests_failed(sr);
18         srunner_free(sr);
19         return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
20 }