.gitlab-ci.yml: Add LSan suppressions file

This adds a suppression file for Leak Sanitizer to ignore known leaks
in libgio-2.0.so.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
This commit is contained in:
Daiki Ueno 2023-10-18 16:08:58 +09:00
parent 3c97587608
commit 7f97e5e0fa
2 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ fedora:asan:
before_script:
- dbus-uuidgen --ensure
script:
- export LSAN_OPTIONS=suppressions=$PWD/build/lsan.supp
- meson _build -Db_sanitize=address -Dgtk_doc=false -Dintrospection=false
- meson compile -C _build
- eval `dbus-launch --sh-syntax`

2
build/lsan.supp Normal file
View File

@ -0,0 +1,2 @@
# https://gitlab.gnome.org/GNOME/glib/-/issues/2312
leak:async_initable_init_first