selftest: Disable detection of ODR violations
authorAndreas Schneider <asn@samba.org>
Mon, 1 Feb 2021 11:06:16 +0000 (12:06 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 1 Feb 2021 21:50:32 +0000 (21:50 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/wscript

index 60297045078919bb191aec8318f48427694b6128..afb1fa936cda1c0eb0bacb3703acec7887038863 100644 (file)
@@ -296,8 +296,8 @@ def cmd_testonly(opt):
         env.CORE_COMMAND = 'unshare --net --user --map-root-user ' + env.CORE_COMMAND
 
     if env.ADDRESS_SANITIZER:
-        # For now we cannot run with leak detection
-        no_leak_check = "ASAN_OPTIONS=detect_leaks=0 "
+        # For now we cannot run with leak and odr detection
+        no_leak_check = "ASAN_OPTIONS=detect_leaks=0:detect_odr_violation=0 "
         # And we need to disable RTLD_DEEPBIND in ldb and socket wrapper
         no_leak_check += "LDB_MODULES_DISABLE_DEEPBIND=1 "
         no_leak_check += "SOCKET_WRAPPER_DISABLE_DEEP_BIND=1"