[glib] GFileMonitor test: use g_test_skip() instead of g_print()



commit 064183a633b7fcfd9b7c1b5a2917fb6f0e9128d3
Author: Simon McVittie <simon mcvittie collabora co uk>
Date:   Mon May 11 16:50:00 2015 +0100

    GFileMonitor test: use g_test_skip() instead of g_print()
    
    This stops it from interfering with structured stdout such as TAP.
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=725981
    Reviewed-by: Colin Walters <walters verbum org>
    Signed-off-by: Simon McVittie <simon mcvittie collabora co uk>

 gio/tests/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/file.c b/gio/tests/file.c
index cba82d1..04eaea9 100644
--- a/gio/tests/file.c
+++ b/gio/tests/file.c
@@ -456,7 +456,7 @@ test_create_delete (gconstpointer d)
    */
   if (!strcmp (G_OBJECT_TYPE_NAME (data->monitor), "GPollFileMonitor"))
     {
-      g_print ("skipping test for this GFileMonitor implementation");
+      g_test_skip ("skipping test for this GFileMonitor implementation");
       goto skip;
     }
 


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