From 9d94eb11b38dbd7e3c74de2ed01c22a17229e166 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sat, 19 Mar 2016 16:28:35 +0000 Subject: [PATCH] Problem: test_fork causes valgrind false positive Solution: do not run test_fork if --enable-valgrind is set. Note that later versions of Valgrind (3.11) not yet available in all distributions fix this problem, so we might revert in the future. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index d301c990..c61a43d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -657,6 +657,7 @@ tests_test_use_fd_tcp_SOURCES = \ tests_test_use_fd_tcp_LDADD = src/libzmq.la if HAVE_FORK +if !VALGRIND_ENABLED test_apps += tests/test_fork tests_test_fork_SOURCES = tests/test_fork.cpp @@ -665,6 +666,7 @@ tests_test_fork_LDADD = src/libzmq.la endif endif endif +endif if BUILD_TIPC test_apps += \