Skip to content

Commit 9d88d0d

Browse files
xclaesseeli-schwartz
authored andcommitted
ci: Skip test_generate_gir_with_address_sanitizer
It fails with glib >= 2.76 and gobject-introspection <= 1.76.1. Fixes: mesonbuild#11754
1 parent 7824ff8 commit 9d88d0d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎test cases/frameworks/7 gnome/meson.build‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ gobj = dependency('gobject-2.0')
5151
gir = dependency('gobject-introspection-1.0')
5252
gmod = dependency('gmodule-2.0')
5353

54+
# GLib >= 2.76 removed slice allocator which causes a leak in g-i to now be
55+
# visible to asan. The leak should be fixed in g-i >= 1.76.2:
56+
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/411
57+
if get_option('b_sanitize') != 'none' and \
58+
gir.version().version_compare('<=1.76.1') and \
59+
glib.version().version_compare('>=2.76')
60+
error('MESON_SKIP_TEST gobject-introspection >=1.76.2 is required with address sanitizer.')
61+
endif
62+
5463
# Test that static deps don't error out when static libraries aren't found
5564
glib_static = dependency('glib-2.0', static : true)
5665

0 commit comments

Comments
 (0)