]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make...
authorTimo Sirainen <tss@iki.fi>
Fri, 29 May 2015 07:43:38 +0000 (10:43 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 29 May 2015 07:43:38 +0000 (10:43 +0300)
dovecot.m4

index 2bb22c797a451aa676cf6cf86b8754c594e1b111..ccc0b8c2d733cb0d56354d41aba905f79bb2faee 100644 (file)
@@ -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