diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-14 14:54:59 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-14 15:30:03 +0200 |
commit | 3b18d21ba5d276f8fa4d22a91faaa71e62dc3c28 (patch) | |
tree | 92cd10b3b95a509cf0342fbf26fb77a84d8def81 /plugins/cinterion/tests | |
parent | cc4e7f6cfdd4b07f578f84d6994ce38ee811b288 (diff) |
tests: avoid g_print() and use g_debug() instead
The debug-level logs won't be printed e.g. during 'make check', but
will be included when running the tester manually.
Diffstat (limited to 'plugins/cinterion/tests')
-rw-r--r-- | plugins/cinterion/tests/test-modem-helpers-cinterion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cinterion/tests/test-modem-helpers-cinterion.c b/plugins/cinterion/tests/test-modem-helpers-cinterion.c index eef0a708..041736f6 100644 --- a/plugins/cinterion/tests/test-modem-helpers-cinterion.c +++ b/plugins/cinterion/tests/test-modem-helpers-cinterion.c @@ -699,7 +699,7 @@ common_test_slcc_urc (const gchar *urc, g_assert_no_error (error); g_assert (result); - g_print ("found %u calls\n", g_list_length (call_info_list)); + g_debug ("found %u calls", g_list_length (call_info_list)); if (expected_call_info_list) { g_assert (call_info_list); @@ -712,7 +712,7 @@ common_test_slcc_urc (const gchar *urc, gboolean found = FALSE; guint i; - g_print ("call at index %u: direction %s, state %s, number %s\n", + g_debug ("call at index %u: direction %s, state %s, number %s", call_info->index, mm_call_direction_get_string (call_info->direction), mm_call_state_get_string (call_info->state), |