← Back to team overview

ayatana-commits team mailing list archive

[Branch ~dbusmenu-team/dbusmenu/trunk] Rev 35: Fixing the returns on the test suite.

 

Merge authors:
  Ted Gould (ted)
  Ted Gould (ted)
Related merge proposals:
  https://code.launchpad.net/~ted/dbusmenu/really-fail/+merge/15817
  proposed by: Ted Gould (ted)
  review: Approve - Cody Russell (bratsche)
------------------------------------------------------------
revno: 35 [merge]
committer: Ted Gould <ted@xxxxxxxx>
branch nick: trunk
timestamp: Tue 2009-12-08 14:04:15 -0600
message:
  Fixing the returns on the test suite.
modified:
  tests/Makefile.am
  tests/test-glib-layout-client.c
  tests/test-glib-properties-client.c
  tests/test-gtk-label-client.c


--
lp:dbusmenu
https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk

Your team ayatana-commits is subscribed to branch lp:dbusmenu.
To unsubscribe from this branch go to https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk/+edit-subscription.
=== modified file 'tests/Makefile.am'
--- tests/Makefile.am	2009-11-20 01:20:51 +0000
+++ tests/Makefile.am	2009-12-08 15:46:16 +0000
@@ -6,8 +6,7 @@
 	test-glib-properties \
 	test-glib-simple-items \
 	test-gtk-label \
-	test-gtk-reorder \
-	test-mago
+	test-gtk-reorder
 
 check_PROGRAMS = \
 	glib-server-nomenu \

=== modified file 'tests/test-glib-layout-client.c'
--- tests/test-glib-layout-client.c	2009-06-25 21:57:16 +0000
+++ tests/test-glib-layout-client.c	2009-10-22 16:33:01 +0000
@@ -126,6 +126,6 @@
 		return 0;
 	} else {
 		g_debug("Quiting as we're a failure");
-		return 0;
+		return 1;
 	}
 }

=== modified file 'tests/test-glib-properties-client.c'
--- tests/test-glib-properties-client.c	2009-05-19 02:42:50 +0000
+++ tests/test-glib-properties-client.c	2009-10-22 16:33:01 +0000
@@ -170,6 +170,6 @@
 		return 0;
 	} else {
 		g_debug("Quiting as we're a failure");
-		return 0;
+		return 1;
 	}
 }

=== modified file 'tests/test-gtk-label-client.c'
--- tests/test-gtk-label-client.c	2009-06-18 14:31:24 +0000
+++ tests/test-gtk-label-client.c	2009-12-08 15:45:54 +0000
@@ -106,7 +106,7 @@
 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 @@
 		return 0;
 	} else {
 		g_debug("Quiting as we're a failure");
-		return 0;
+		return 1;
 	}
 }