diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-07-07 14:52:22 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-07-07 15:08:02 -0500 |
commit | e2c9fce57f17b661226e2b31fa2e1e24a4df4eef (patch) | |
tree | 9a4784bfa76598eb657b8814ecfcf7e2cf14a39f /.gitlab-ci.yml | |
parent | 9c33b225e89bd780c83fcb5e46cfc3fe2ad0c5c6 (diff) | |
download | at-spi2-core-e2c9fce57f17b661226e2b31fa2e1e24a4df4eef.tar.gz |
Add a suppressions file for address-sanitizer
Looks like the leak in
https://gitlab.freedesktop.org/dbus/dbus/-/issues/326 is being
caught.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |