From: Michal Privoznik Date: Fri, 2 Oct 2020 08:34:11 +0000 (+0200) Subject: tests: Set G_DEBUG environment variable X-Git-Tag: v6.9.0-rc1~406 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c4ebab4f50bc57e617076a8fbd8308f0c8fb087;p=thirdparty%2Flibvirt.git tests: Set G_DEBUG environment variable With us switching to glib more and more it is easy to get things wrong (as can be seen in the previous commit). Set G_DEBUG variable to "fatal-warnings" which causes GLib to abort the program at the first call to g_warning() or g_critical(). Signed-off-by: Michal Privoznik Reviewed-by: Pavel Hrdina --- diff --git a/tests/meson.build b/tests/meson.build index cb720f3afe..790033e243 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -36,6 +36,7 @@ tests_env = [ 'abs_top_srcdir=@0@'.format(meson.source_root()), 'LC_ALL=C', 'LIBVIRT_AUTOSTART=0', + 'G_DEBUG=fatal-warnings', ] if use_expensive_tests