dovecot-2.2: dovecot.m4: If NOVALGRIND environment is set, don't...

dovecot at dovecot.org dovecot at dovecot.org
Fri May 29 07:45:55 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/2dd8308f5d57
changeset: 18756:2dd8308f5d57
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 29 10:43:38 2015 +0300
description:
dovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make check"

diffstat:

 dovecot.m4 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 0c55e484914c -r 2dd8308f5d57 dovecot.m4
--- a/dovecot.m4	Fri May 29 07:03:15 2015 +0300
+++ b/dovecot.m4	Fri May 29 10:43:38 2015 +0300
@@ -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 @@
 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


More information about the dovecot-cvs mailing list