diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-07-18 11:22:21 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-07-18 14:48:59 -0400 |
commit | 9d88d0d5cc92de04cb33cac4ddaedff622b65c40 (patch) | |
tree | abe4493b28cc37fa40502c35f1f7b7b191d702a4 | |
parent | 7824ff80dcaa457706a4f762e976383e6bd03daf (diff) | |
download | meson-9d88d0d5cc92de04cb33cac4ddaedff622b65c40.zip meson-9d88d0d5cc92de04cb33cac4ddaedff622b65c40.tar.gz meson-9d88d0d5cc92de04cb33cac4ddaedff622b65c40.tar.bz2 |
ci: Skip test_generate_gir_with_address_sanitizer
It fails with glib >= 2.76 and gobject-introspection <= 1.76.1.
Fixes: #11754
-rw-r--r-- | test cases/frameworks/7 gnome/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/frameworks/7 gnome/meson.build b/test cases/frameworks/7 gnome/meson.build index 4638d4d..4d54e77 100644 --- a/test cases/frameworks/7 gnome/meson.build +++ b/test cases/frameworks/7 gnome/meson.build @@ -51,6 +51,15 @@ gobj = dependency('gobject-2.0') gir = dependency('gobject-introspection-1.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 glib_static = dependency('glib-2.0', static : true) |