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.
This commit is contained in:
Luca Boccassi 2016-03-19 16:28:35 +00:00
parent 00e0957640
commit 9d94eb11b3

View File

@ -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 += \