mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
selftest: Disable detection of ODR violations
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
878b4a71aa
commit
9d82f90b26
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user