diff options
Diffstat (limited to 'plugins/xmm/tests/test-modem-helpers-xmm.c')
-rw-r--r-- | plugins/xmm/tests/test-modem-helpers-xmm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xmm/tests/test-modem-helpers-xmm.c b/plugins/xmm/tests/test-modem-helpers-xmm.c index 28aea936..b4a8b2b5 100644 --- a/plugins/xmm/tests/test-modem-helpers-xmm.c +++ b/plugins/xmm/tests/test-modem-helpers-xmm.c @@ -760,17 +760,17 @@ _mm_log (const char *loc, const char *fmt, ...) { -#if defined ENABLE_TEST_MESSAGE_TRACES - /* Dummy log function */ va_list args; gchar *msg; + if (!g_test_verbose ()) + return; + va_start (args, fmt); msg = g_strdup_vprintf (fmt, args); va_end (args); g_print ("%s\n", msg); g_free (msg); -#endif } int main (int argc, char **argv) |