gtester should fail even if -k is passed
authorCody Russell <bratsche@gnome.org>
Mon, 23 Nov 2009 13:48:14 +0000 (07:48 -0600)
committerCody Russell <bratsche@gnome.org>
Mon, 23 Nov 2009 13:48:14 +0000 (07:48 -0600)
glib/gtester.c

index ecc9f77..ca023f7 100644 (file)
@@ -672,7 +672,7 @@ main (int    argc,
 
   close (log_fd);
 
-  return 0;
+  return testcase_fail_count == 0 ? 0 : 1;
 }
 
 static void