[glib/glib-2-22] gtester should fail even if -k is passed



commit 7c177e274a913480cfa67ce09e354e1fa79a1387
Author: Cody Russell <bratsche gnome org>
Date:   Mon Nov 23 07:48:14 2009 -0600

    gtester should fail even if -k is passed
    (cherry picked from commit 04d83e8e503a07e7b4279227c8f992ddf7c6ef4e)

 glib/gtester.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gtester.c b/glib/gtester.c
index ecc9f77..ca023f7 100644
--- a/glib/gtester.c
+++ b/glib/gtester.c
@@ -672,7 +672,7 @@ main (int    argc,
 
   close (log_fd);
 
-  return 0;
+  return testcase_fail_count == 0 ? 0 : 1;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]