summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzunti <Szunti@users.noreply.github.com>2020-12-26 23:09:30 +0100
committerSzunti <Szunti@users.noreply.github.com>2021-01-16 15:37:59 +0100
commitfb7eda6ed6ca6f8c6f8e4140374c5e980c00e5aa (patch)
treee3d59c8e0c72603521736c7e6a9c1f8fa37d61ef
parent6cb7f3338594bc6065a5b7d9060d67aab4c20220 (diff)
downloadpango-fb7eda6ed6ca6f8c6f8e4140374c5e980c00e5aa.tar.gz
Force malloc of g_slices in asan build
Otherwise leaks could be missed.
-rwxr-xr-x.gitlab-ci/run-tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index e5c8e9af..73a1951f 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -8,6 +8,8 @@ builddir=$1
# Ignore memory leaks lower in dependencies
export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp
+# Check leaks of slices
+export G_SLICE=always-malloc
meson test -C ${builddir} \
--print-errorlogs \