From 74ee566fbd4caf8a978e5d6ddf0cd2e27a1973b7 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 17 Jul 2019 16:23:51 +0100 Subject: tests/notify: Always print the diagnostic messages We're using the TAP mode of GTest, so we can always emit diagnostic messages using g_test_message(), without necessarily caring about verbosity. --- testsuite/gtk/notify.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c index 99b8f82ae8..941e1b60fb 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -329,8 +329,7 @@ check_property (GObject *instance, GParamSpec *pspec) } else { - if (g_test_verbose ()) - g_print ("Skipping property %s.%s of type %s\n", g_type_name (pspec->owner_type), pspec->name, g_type_name (pspec->value_type)); + g_test_message ("Skipping property %s.%s of type %s\n", g_type_name (pspec->owner_type), pspec->name, g_type_name (pspec->value_type)); } } @@ -628,8 +627,7 @@ test_type (gconstpointer data) g_str_equal (pspec->name, "position")) continue; - if (g_test_verbose ()) - g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name); + g_test_message ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name); check_property (instance, pspec); } -- cgit v1.2.1