From 6ecd6e2c2a559612d256c6214b31e2881721b240 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 22 Oct 2009 11:33:01 -0500 Subject: If we didn't pass, we shouldn't return 0 --- tests/test-glib-layout-client.c | 2 +- tests/test-glib-properties-client.c | 2 +- tests/test-gtk-label-client.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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..ffe029f 100644 --- a/tests/test-gtk-label-client.c +++ b/tests/test-gtk-label-client.c @@ -176,6 +176,6 @@ main (int argc, char ** argv) return 0; } else { g_debug("Quiting as we're a failure"); - return 0; + return 1; } } -- cgit v1.2.3 From fc124ce1467fc31abe6c20067406f291da47d268 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 8 Dec 2009 09:45:54 -0600 Subject: Passing on timeout for the gtk client. --- tests/test-gtk-label-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test-gtk-label-client.c b/tests/test-gtk-label-client.c index ffe029f..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; } -- cgit v1.2.3 From d69a3dcc879f3dc15d806f856877bfff16e59f1b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 8 Dec 2009 09:46:16 -0600 Subject: Disabling the mago tests as they always pass and they take a while to run. --- tests/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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 \ -- cgit v1.2.3