diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-08 15:13:53 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-08 17:53:42 +0200 |
commit | e956bac47b5a822a836381ec8dbb34041a8f41f4 (patch) | |
tree | da728fadded1dcd4e513e36e317c7b385af44c85 /plugins/cinterion/tests/test-modem-helpers-cinterion.c | |
parent | f1e930d574c712b75bf5772d3ae128b72b327a38 (diff) |
log: common logging method definition for all testers and helpers
Diffstat (limited to 'plugins/cinterion/tests/test-modem-helpers-cinterion.c')
-rw-r--r-- | plugins/cinterion/tests/test-modem-helpers-cinterion.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/plugins/cinterion/tests/test-modem-helpers-cinterion.c b/plugins/cinterion/tests/test-modem-helpers-cinterion.c index 88e0f74c..0baeec30 100644 --- a/plugins/cinterion/tests/test-modem-helpers-cinterion.c +++ b/plugins/cinterion/tests/test-modem-helpers-cinterion.c @@ -21,7 +21,7 @@ #define _LIBMM_INSIDE_MM #include <libmm-glib.h> -#include "mm-log.h" +#include "mm-log-test.h" #include "mm-modem-helpers.h" #include "mm-modem-helpers-cinterion.h" @@ -858,27 +858,6 @@ test_ctzu_urc_full (void) /*****************************************************************************/ -void -_mm_log (gpointer obj, - const char *loc, - const char *func, - guint32 level, - const char *fmt, - ...) -{ - 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); -} - int main (int argc, char **argv) { setlocale (LC_ALL, ""); |