]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Set G_DEBUG environment variable
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Oct 2020 08:34:11 +0000 (10:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Oct 2020 10:48:55 +0000 (12:48 +0200)
commit2c4ebab4f50bc57e617076a8fbd8308f0c8fb087
tree3a90d029a6a4a2e330439ddf4af48c55ca3b6924
parent48622bb5637587a1cc24f7fdc8ab32cd89798a9d
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 <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/meson.build