From 46f6687bf613def1c041cd14b2c542d57cd17b25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 4 Jul 2014 19:45:55 +0100 Subject: [PATCH] tests: qtmux: suppress glib criticals caused by testing deprecated dts methods --- tests/check/elements/qtmux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/check/elements/qtmux.c b/tests/check/elements/qtmux.c index fe21556519..105b1e80db 100644 --- a/tests/check/elements/qtmux.c +++ b/tests/check/elements/qtmux.c @@ -895,6 +895,9 @@ qtmux_suite (void) Suite *s = suite_create ("qtmux"); TCase *tc_chain = tcase_create ("general"); + /* avoid glib warnings when setting deprecated dts-method property */ + g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE); + suite_add_tcase (s, tc_chain); tcase_add_test (tc_chain, test_video_pad_dd); tcase_add_test (tc_chain, test_audio_pad_dd); -- 2.34.1