ci: Skip test_generate_gir_with_address_sanitizer

It fails with glib >= 2.76 and gobject-introspection <= 1.76.1.

Fixes: #11754
pull/12009/head
Xavier Claessens 1 year ago committed by Eli Schwartz
parent 7824ff80dc
commit 9d88d0d5cc
  1. 9
      test cases/frameworks/7 gnome/meson.build

@ -51,6 +51,15 @@ gobj = dependency('gobject-2.0')
gir = dependency('gobject-introspection-1.0') gir = dependency('gobject-introspection-1.0')
gmod = dependency('gmodule-2.0') gmod = dependency('gmodule-2.0')
# GLib >= 2.76 removed slice allocator which causes a leak in g-i to now be
# visible to asan. The leak should be fixed in g-i >= 1.76.2:
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/411
if get_option('b_sanitize') != 'none' and \
gir.version().version_compare('<=1.76.1') and \
glib.version().version_compare('>=2.76')
error('MESON_SKIP_TEST gobject-introspection >=1.76.2 is required with address sanitizer.')
endif
# Test that static deps don't error out when static libraries aren't found # Test that static deps don't error out when static libraries aren't found
glib_static = dependency('glib-2.0', static : true) glib_static = dependency('glib-2.0', static : true)

Loading…
Cancel
Save