From fb7eda6ed6ca6f8c6f8e4140374c5e980c00e5aa Mon Sep 17 00:00:00 2001 From: Szunti Date: Sat, 26 Dec 2020 23:09:30 +0100 Subject: Force malloc of g_slices in asan build Otherwise leaks could be missed. --- .gitlab-ci/run-tests.sh | 2 ++ 1 file changed, 2 insertions(+) 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 \ -- cgit v1.2.1