From e2c9fce57f17b661226e2b31fa2e1e24a4df4eef Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 7 Jul 2022 14:52:22 -0500 Subject: Add a suppressions file for address-sanitizer Looks like the leak in https://gitlab.freedesktop.org/dbus/dbus/-/issues/326 is being caught. --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 77a80056..962946a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -119,6 +119,11 @@ asan-build: needs: ['opensuse-container@x86_64'] variables: MESON_EXTRA_FLAGS: "--buildtype=debug -Db_sanitize=address -Db_lundef=false -Dintrospection=no -Ddocs=false" + # Add a suppressions file for address-sanitizer. Looks like libdbus has a minor leak that is hurting + # the tests while run with asan. Hopefully this will go away once we convert everything to gdbus. + # + # https://gitlab.freedesktop.org/dbus/dbus/-/issues/326 + LSAN_OPTIONS: "suppressions=${CI_PROJECT_DIR}/ci/address-sanitizer.supp" script: - CC=clang meson setup ${MESON_EXTRA_FLAGS} --prefix /usr _build . - meson compile -C _build -- cgit v1.2.1