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 <phil@dovecot.fi>
noundef=""
fi
+if test "\$NOCHILDREN" != ""; then
+ trace_children="--trace-children=no"
+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=\$?