cmake: Disable deep binding for helgrind
authorAndreas Schneider <asn@samba.org>
Wed, 28 Nov 2018 08:23:52 +0000 (09:23 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 12 Feb 2019 15:54:24 +0000 (16:54 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/CMakeLists.txt

index 1da839cc09e97575056969c27ea3946260f1319d..46a81c93d8c94c34eb242d92de71bb995c2f474f 100644 (file)
@@ -127,7 +127,7 @@ if (HELGRIND_TESTING)
                     TEST
                         ${_HELGRIND_TEST}
                     PROPERTY
-                        ENVIRONMENT LD_PRELOAD=${SOCKET_WRAPPER_LOCATION})
+                        ENVIRONMENT LD_PRELOAD=${SOCKET_WRAPPER_LOCATION} SOCKET_WRAPPER_DISABLE_DEEPBIND=1)
             endif()
         endforeach()
     endif()