[pango/asan-fixes: 1/4] ci: Suppress lsan leak warnings from dependencies




commit 93e6eb66d9615ceafc3f6528913657524f7e48d2
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Sep 12 13:35:23 2020 -0400

    ci: Suppress lsan leak warnings from dependencies

 .gitlab-ci/run-tests.sh | 3 +++
 lsan.supp               | 7 +++++++
 2 files changed, 10 insertions(+)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index cca589b4..e5c8e9af 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -6,6 +6,9 @@ set +e
 srcdir=$( pwd )
 builddir=$1
 
+# Ignore memory leaks lower in dependencies
+export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp
+
 meson test -C ${builddir} \
         --print-errorlogs \
         --suite=pango 
diff --git a/lsan.supp b/lsan.supp
new file mode 100644
index 00000000..06a74df1
--- /dev/null
+++ b/lsan.supp
@@ -0,0 +1,7 @@
+leak:g_quark_init
+leak:libc.so
+leak:libfontconfig.so
+leak:libcairo.so
+leak:libpixman-1.so
+leak:libthai.so
+leak:libdatrie.so


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]