summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-02 15:07:48 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-02 15:16:13 +0100
commitb19516d7c6820ebf0f6e531de3639656a6e662c0 (patch)
tree0cb45bd29b03582ac7c1a2004edf04c5eb8fcc42 /gl
parentcc0420abf9c1de892b86284b9bc01461d8baaa9f (diff)
downloadgnutls-b19516d7c6820ebf0f6e531de3639656a6e662c0.tar.gz
valgrind: use different exit code to signify errortmp-add-invalid-key-tests
This allows the test suite to differentiate between valgrind and expected errors from tools.
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/valgrind-tests.m42
-rw-r--r--gl/override/m4/valgrind-tests.m4.diff2
2 files changed, 2 insertions, 2 deletions
diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4
index b80bda60bc..2abae39a37 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 --suppressions=suppressions.valgrind"
+ OPTS="-q --error-exitcode=6 --leak-check=full --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
index 1393d5d045..c836d67408 100644
--- a/gl/override/m4/valgrind-tests.m4.diff
+++ b/gl/override/m4/valgrind-tests.m4.diff
@@ -5,7 +5,7 @@
fi
- OPTS="-q --error-exitcode=1 --leak-check=full"
-+ OPTS="-q --error-exitcode=1 --leak-check=full --suppressions=suppressions.valgrind"
++ OPTS="-q --error-exitcode=6 --leak-check=full --suppressions=suppressions.valgrind"
if test -n "$VALGRIND" \
&& $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then