Cross Reference: check_all.c
xref: /xsrc/external/mit/libxcb/dist/tests/check_all.c
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/libxcb/dist/tests/
check_all.c revision 602e473d
1#include <stdlib.h>
2#include "check_suites.h"
3
4void 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
11int 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}
21

Indexes created Thu Dec 04 23:09:28 GMT 2025