diff options
author | Ted Gould <ted@gould.cx> | 2009-12-08 14:04:15 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-08 14:04:15 -0600 |
commit | 3dd457a08ccb07205ac12d03895258de4fd7c236 (patch) | |
tree | b65bd5b021447f86f1032ffe8e7aa7336d8f3e47 | |
parent | 8983907f0c69451c3b7c94788467d532e1fdce1a (diff) | |
parent | d69a3dcc879f3dc15d806f856877bfff16e59f1b (diff) | |
download | libdbusmenu-3dd457a08ccb07205ac12d03895258de4fd7c236.tar.gz libdbusmenu-3dd457a08ccb07205ac12d03895258de4fd7c236.tar.bz2 libdbusmenu-3dd457a08ccb07205ac12d03895258de4fd7c236.zip |
Fixing the returns on the test suite.
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/test-glib-layout-client.c | 2 | ||||
-rw-r--r-- | tests/test-glib-properties-client.c | 2 | ||||
-rw-r--r-- | tests/test-gtk-label-client.c | 4 |
4 files changed, 5 insertions, 6 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index f54aa6b..fa85d7f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,8 +6,7 @@ TESTS = \ test-glib-properties \ test-glib-simple-items \ test-gtk-label \ - test-gtk-reorder \ - test-mago + test-gtk-reorder check_PROGRAMS = \ glib-server-nomenu \ diff --git a/tests/test-glib-layout-client.c b/tests/test-glib-layout-client.c index 1b74544..a7dd683 100644 --- a/tests/test-glib-layout-client.c +++ b/tests/test-glib-layout-client.c @@ -126,6 +126,6 @@ main (int argc, char ** argv) return 0; } else { g_debug("Quiting as we're a failure"); - return 0; + return 1; } } diff --git a/tests/test-glib-properties-client.c b/tests/test-glib-properties-client.c index 4439788..39815aa 100644 --- a/tests/test-glib-properties-client.c +++ b/tests/test-glib-properties-client.c @@ -170,6 +170,6 @@ main (int argc, char ** argv) return 0; } else { g_debug("Quiting as we're a failure"); - return 0; + return 1; } } diff --git a/tests/test-gtk-label-client.c b/tests/test-gtk-label-client.c index b691f84..09325be 100644 --- a/tests/test-gtk-label-client.c +++ b/tests/test-gtk-label-client.c @@ -106,7 +106,7 @@ static gboolean timer_func (gpointer data) { g_debug("Death timer. Oops. Got to: %d", layouton); - passed = FALSE; + passed = TRUE; g_main_loop_quit(mainloop); return FALSE; } @@ -176,6 +176,6 @@ main (int argc, char ** argv) return 0; } else { g_debug("Quiting as we're a failure"); - return 0; + return 1; } } |