tests: qtmux: suppress glib criticals caused by testing deprecated dts methods

This commit is contained in:
Tim-Philipp Müller 2014-07-04 19:45:55 +01:00
parent d33d8cf026
commit 46f6687bf6

View file

@ -895,6 +895,9 @@ qtmux_suite (void)
Suite *s = suite_create ("qtmux"); Suite *s = suite_create ("qtmux");
TCase *tc_chain = tcase_create ("general"); 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); suite_add_tcase (s, tc_chain);
tcase_add_test (tc_chain, test_video_pad_dd); tcase_add_test (tc_chain, test_video_pad_dd);
tcase_add_test (tc_chain, test_audio_pad_dd); tcase_add_test (tc_chain, test_audio_pad_dd);