aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-11-09 00:56:19 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-11-09 17:58:13 +0100
commit88ac76dc006ee904acd51fd6791366f700ab3036 (patch)
tree4e0a79e307159b696cd7b1c3054fe63cc5607c56
parentdd5b4a9420c9f32faf6a6615e904178310156258 (diff)
downloadexternal_libqmi-88ac76dc006ee904acd51fd6791366f700ab3036.zip
external_libqmi-88ac76dc006ee904acd51fd6791366f700ab3036.tar.gz
external_libqmi-88ac76dc006ee904acd51fd6791366f700ab3036.tar.bz2
libqmi,test: don't print message contents by default in tests
-rw-r--r--src/libqmi-glib/test/test-message.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libqmi-glib/test/test-message.c b/src/libqmi-glib/test/test-message.c
index 807d15f..9ea46fa 100644
--- a/src/libqmi-glib/test/test-message.c
+++ b/src/libqmi-glib/test/test-message.c
@@ -45,7 +45,9 @@ test_message_parse_common (const guint8 *buffer,
}
printable = qmi_message_get_printable (message, "");
+#ifdef TEST_PRINT_MESSAGE
g_print ("\n%s\n", printable);
+#endif
g_free (printable);
n_messages++;