From: Timo Sirainen Date: Fri, 29 May 2015 07:43:38 +0000 (+0300) Subject: dovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make... X-Git-Tag: 2.2.19.rc1~438 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68aaffc9d7c5e2d040f0d6d3738f54aaa25f8905;p=thirdparty%2Fdovecot%2Fcore.git dovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make check" --- diff --git a/dovecot.m4 b/dovecot.m4 index 2bb22c797a..ccc0b8c2d7 100644 --- a/dovecot.m4 +++ b/dovecot.m4 @@ -6,7 +6,7 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 14 +# serial 15 AC_DEFUN([DC_DOVECOT_MODULEDIR],[ AC_ARG_WITH(moduledir, @@ -39,6 +39,10 @@ AC_DEFUN([DC_DOVECOT_TEST_WRAPPER],[ top_srcdir=\$[1] shift +if test "\$NOVALGRIND" != ""; then + exec \$[*] +fi + trap "rm -f test.out.\$\$" 0 1 2 3 15 supp_path="\$top_srcdir/run-test-valgrind.supp" if test -r "\$supp_path"; then