Skip to content
Snippets Groups Projects
Commit 1521447e authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Removed the test suite's valgrind handling in favor of the generic implementation Dovecot provides.

parent 814ef928
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ Makefile.in
src/**/test-*
!src/**/test-*.c
!src/**/test-*.h
**/test.out.*
doc/man/doveadm-sieve.1
doc/man/sievec.1
......
......@@ -47,12 +47,7 @@ DISTCLEANFILES = \
TESTSUITE_BIN = $(top_builddir)/src/testsuite/testsuite $(TESTSUITE_OPTIONS)
if TESTSUITE_VALGRIND
TEST_BIN = libtool --mode=execute valgrind -q --error-exitcode=1 \
--show-reachable=yes --leak-check=full --trace-children=yes $(TESTSUITE_BIN)
else
TEST_BIN = $(TESTSUITE_BIN)
endif
TEST_BIN = $(RUN_TEST) $(TESTSUITE_BIN)
if BUILD_UNFINISHED
test_unfinished =
......
......@@ -99,16 +99,6 @@ AC_ARG_WITH(docs,
want_docs=yes)
AM_CONDITIONAL(BUILD_DOCS, test "$want_docs" = "yes")
AC_ARG_ENABLE(valgrind,
[AC_HELP_STRING([--enable-valgrind], [Enable Valgrind memory leak checks in testsuite [default=no]])],
if test x$enableval = xno || test x$enableval = xauto; then
want_valgrind=$enableval
else
want_valgrind=yes
fi,
want_valgrind=no)
AM_CONDITIONAL(TESTSUITE_VALGRIND, test "$want_valgrind" = "yes")
AC_ARG_WITH(managesieve,
[AC_HELP_STRING([--with-managesieve],
[Build ManageSieve service [default=yes]])],
......
# pigeonhole.m4 - Check presence of pigeonhole -*-Autoconf-*-
#.
# serial 4
# serial 5
AC_DEFUN([DC_PIGEONHOLE],[
AC_ARG_WITH(pigeonhole,
......@@ -55,16 +55,6 @@ AC_DEFUN([DC_PIGEONHOLE],[
pigeonhole_incdir="$pigeonholedir"
AC_ARG_ENABLE(valgrind,
[AC_HELP_STRING([--enable-valgrind], [Enable Valgrind memory leak checks in testsuite [default=no]])],
if test x$enableval = xno || test x$enableval = xauto; then
want_valgrind=$enableval
else
want_valgrind=yes
fi,
want_valgrind=no)
AM_CONDITIONAL(PIGEONHOLE_TESTSUITE_VALGRIND, test "$want_valgrind" = "yes")
AC_SUBST(pigeonhole_incdir)
AC_SUBST(LIBSIEVE_INCLUDE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.