[glib] mapping-test: Add debug spew



commit de1c0722b92d101171f7c2ce7eb199727528dff1
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 27 22:13:33 2014 -0400

    mapping-test: Add debug spew
    
    This might help figuring out why the test is failing in continuous.

 tests/mapping-test.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/mapping-test.c b/tests/mapping-test.c
index b3e9778..8975bd4 100644
--- a/tests/mapping-test.c
+++ b/tests/mapping-test.c
@@ -143,6 +143,7 @@ test_mapping (void)
   map = map_or_die (filename, TRUE);
   g_assert (g_mapped_file_get_length (map) == 3);
   g_mapped_file_free (map);
+  g_message ("test_mapping: ok");
 }
 
 static void 
@@ -173,6 +174,7 @@ test_private (void)
   g_assert (strcmp (buffer, "ABC") == 0);
   g_free (buffer);
 
+  g_message ("test_private: ok");
 }
 
 static void
@@ -251,6 +253,8 @@ test_child_private (gchar *argv0)
   g_assert (len == 3);
   g_assert (strcmp (buffer, "ABC") == 0);
   g_free (buffer);
+
+  g_message ("test_child_private: ok");
 }
 
 static int 


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