From: Matthias Clasen Date: Tue, 6 Jun 2023 01:09:51 +0000 (-0400) Subject: ci: Tweak asan options X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~179^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cf69fecc87972fc80d00c3a0f1794c64cf4fbb33;p=gtk4.git ci: Tweak asan options Allow the allocator to return NULL, so our g_try_malloc tests don't fail. --- diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh index ded8da6d41..935b88f9f4 100755 --- a/.gitlab-ci/run-tests.sh +++ b/.gitlab-ci/run-tests.sh @@ -9,7 +9,7 @@ backend=$2 multiplier=${MESON_TEST_TIMEOUT_MULTIPLIER:-1} # Ignore memory leaks lower in dependencies -export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp:print_suppressions=0:detect_leaks=0 +export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp:print_suppressions=0:detect_leaks=0:allocator_may_return_null=1 export G_SLICE=always-malloc case "${backend}" in