source:
tests/check.c
@
c2fa827
Last change on this file since c2fa827 was c2fa827, checked in by , at 2006-06-16T11:48:52Z | |
---|---|
|
|
File size: 338 bytes |
Rev | Line | |
---|---|---|
[c2fa827] | 1 | #include <stdlib.h> |
2 | #include <glib.h> | |
3 | #include <gmodule.h> | |
4 | #include <check.h> | |
5 | ||
6 | /* From check_util.c */ | |
7 | Suite *util_suite(void); | |
8 | ||
9 | int main (void) | |
10 | { | |
11 | int nf; | |
12 | SRunner *sr = srunner_create(util_suite()); | |
13 | srunner_run_all (sr, CK_NORMAL); | |
14 | nf = srunner_ntests_failed(sr); | |
15 | srunner_free(sr); | |
16 | return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; | |
17 | } |
Note: See TracBrowser
for help on using the repository browser.