From: Phil Carmody Date: Mon, 4 Jun 2018 16:58:23 +0000 (+0300) Subject: m4/dovecot.m4: run-test.sh - disable valgrind for individual tests X-Git-Tag: 2.3.9~1688 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae6ac98a1eab2bf3c32d8e63b79ccf1ea5145d57;p=thirdparty%2Fdovecot%2Fcore.git m4/dovecot.m4: run-test.sh - disable valgrind for individual tests OpenSSL doesn't like valgrind on my setup, so permit a local instalation to have a list of excluded binaries that won't use valgrind in make check. Signed-off-by: Phil Carmody --- diff --git a/m4/dovecot.m4 b/m4/dovecot.m4 index e7872c5183..464a7a32a5 100644 --- a/m4/dovecot.m4 +++ b/m4/dovecot.m4 @@ -51,6 +51,11 @@ else trace_children="--trace-children=yes" fi +skip_path="\$top_srcdir/run-test-valgrind.exclude" +if test -r "\$skip_path" && grep -w -q "\$(basename \$[1])" "\$skip_path"; then + NOVALGRIND=true +fi + if test "\$NOVALGRIND" != ""; then \$[*] ret=\$?