File: check_libtinymailui_main.c

package info (click to toggle)
libtinymail 0.0.9-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,148 kB
  • ctags: 19,175
  • sloc: ansic: 151,565; xml: 20,145; sh: 9,245; makefile: 2,394; cs: 243; cpp: 141; python: 93; perl: 71
file content (25 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#include <gtk/gtk.h>

#include <stdlib.h>

#include "check_libtinymailui.h"

#include <gtk/gtk.h>

int
main (void)
{
     int n;
     SRunner *sr;

     gtk_init (NULL, NULL);	/* Why doesn't this require gtk CFLAGS&LIBS? */
     g_thread_init (NULL);

     sr = srunner_create ((Suite *) create_tny_platform_factory_suite ());

     srunner_run_all (sr, CK_VERBOSE);
     n = srunner_ntests_failed (sr);
     srunner_free (sr);
     return (n == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}