From cf69fecc87972fc80d00c3a0f1794c64cf4fbb33 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 Jun 2023 21:09:51 -0400 Subject: [PATCH] ci: Tweak asan options Allow the allocator to return NULL, so our g_try_malloc tests don't fail. --- .gitlab-ci/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2