summaryrefslogtreecommitdiff
path: root/tests/functional-tests/ipc/test-bus-query-cancellation.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional-tests/ipc/test-bus-query-cancellation.c')
-rw-r--r--tests/functional-tests/ipc/test-bus-query-cancellation.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional-tests/ipc/test-bus-query-cancellation.c b/tests/functional-tests/ipc/test-bus-query-cancellation.c
index e53ea7134..916b37481 100644
--- a/tests/functional-tests/ipc/test-bus-query-cancellation.c
+++ b/tests/functional-tests/ipc/test-bus-query-cancellation.c
@@ -112,6 +112,14 @@ main (gint argc, gchar **argv)
g_test_init (&argc, &argv, NULL);
+ /* g_test_init() enables verbose logging by default, but Tracker is too
+ * verbose. To make the logs managable, we hide DEBUG and INFO messages
+ * unless TRACKER_TESTS_VERBOSE is set.
+ */
+ if (! g_getenv ("TRACKER_TESTS_VERBOSE")) {
+ g_log_set_handler ("Tracker", G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_INFO, g_log_default_handler, NULL);
+ }
+
g_test_add_func ("/libtracker-sparql/tracker/gb737023",
test_tracker_sparql_gb737023);