blob: bfc912dc1eeec1c6dfea7965e661e042d4249b0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- valgrind-tests.m4.orig
+++ valgrind-tests.m4
@@ -14,7 +14,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
AC_ARG_ENABLE(valgrind-tests,
AS_HELP_STRING([--disable-valgrind-tests],
[don't try to run self tests under valgrind]),
- [opt_valgrind_tests=$enableval], [opt_valgrind_tests=yes])
+ [opt_valgrind_tests=$enableval], [opt_valgrind_tests=no])
# Run self-tests under valgrind?
if test "$opt_valgrind_tests" = "yes" && test "$cross_compiling" = no; then
@@ -26,7 +26,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
if test -n "$VALGRIND" \
&& $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then
opt_valgrind_tests=yes
- VALGRIND="$VALGRIND $OPTS"
+ VALGRIND="$VALGRIND $OPTS --suppressions=\$(srcdir)/suppressions.valgrind"
else
opt_valgrind_tests=no
VALGRIND=
|