summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.gitlab-ci/run-tests.sh3
-rw-r--r--lsan.supp7
2 files changed, 10 insertions, 0 deletions
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