diff options
author | Szunti <Szunti@users.noreply.github.com> | 2020-12-26 23:09:30 +0100 |
---|---|---|
committer | Szunti <Szunti@users.noreply.github.com> | 2021-01-16 15:37:59 +0100 |
commit | fb7eda6ed6ca6f8c6f8e4140374c5e980c00e5aa (patch) | |
tree | e3d59c8e0c72603521736c7e6a9c1f8fa37d61ef | |
parent | 6cb7f3338594bc6065a5b7d9060d67aab4c20220 (diff) | |
download | pango-fb7eda6ed6ca6f8c6f8e4140374c5e980c00e5aa.tar.gz |
Force malloc of g_slices in asan build
Otherwise leaks could be missed.
-rwxr-xr-x | .gitlab-ci/run-tests.sh | 2 |
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 \ |