mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
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>
This commit is contained in:
parent
48622bb563
commit
2c4ebab4f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user