summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/valgrind-tests.m42
-rw-r--r--gl/override/m4/valgrind-tests.m4.diff11
2 files changed, 12 insertions, 1 deletions
diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4
index 6f2790ee0e..077e025913 100644
--- a/gl/m4/valgrind-tests.m4
+++ b/gl/m4/valgrind-tests.m4
@@ -21,7 +21,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
AC_CHECK_PROGS(VALGRIND, valgrind)
fi
- OPTS="-q --error-exitcode=1 --leak-check=full"
+ OPTS="-q --error-exitcode=1 --suppressions=suppressions.valgrind"
if test -n "$VALGRIND" \
&& $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then
diff --git a/gl/override/m4/valgrind-tests.m4.diff b/gl/override/m4/valgrind-tests.m4.diff
new file mode 100644
index 0000000000..d94b157b8f
--- /dev/null
+++ b/gl/override/m4/valgrind-tests.m4.diff
@@ -0,0 +1,11 @@
+--- valgrind-tests.m4.orig
++++ valgrind-tests.m4
+@@ -21,7 +21,7 @@ AC_DEFUN([gl_VALGRIND_TESTS],
+ AC_CHECK_PROGS(VALGRIND, valgrind)
+ fi
+
+- OPTS="-q --error-exitcode=1 --leak-check=full"
++ OPTS="-q --error-exitcode=1 --suppressions=suppressions.valgrind"
+
+ if test -n "$VALGRIND" \
+ && $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then