This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=49135b04c761c459e65d5817a112c4592518a5f1

commit 49135b04c761c459e65d5817a112c4592518a5f1
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Jul 8 23:47:01 2023 +0200

    test: Disable ASAN link order check also for functional tests
    
    When we use eatmydata which sets LD_PRELOAD, that can confuse the ASAN
    link order check, making program abort and failing the entire test
    suite.
    
    Fixes: commit 59268c3f1098114c0dc27b2129882faa96897a1a
    Changelog: silent
---
 tests/Test.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/Test.mk b/tests/Test.mk
index 9aaa52b6b..3c020af2c 100644
--- a/tests/Test.mk
+++ b/tests/Test.mk
@@ -25,6 +25,9 @@ DPKG_ENV = \
   PATH=$(DPKG_PATH) \
   $(DPKG_MAINTSCRIPT_DEBUG)
 
+# eatmydata confuses ASAN link order check.
+export ASAN_OPTIONS = verify_asan_link_order=0
+
 ifdef DPKG_BUILDTREE
 export DPKG_DATADIR := $(DPKG_BUILDTREE)/src
 DPKG_ENV += \

-- 
Dpkg.Org's dpkg

Reply via email to