summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2017-03-14 19:27:49 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-15 08:53:39 +0100
commit13aaefba524688c01955f5cc285c5568f107c534 (patch)
tree60a315f719ab8c41535e311fe2231ba0dd9f39ea /gl
parentfe3afdf4cca08c33a8bf0a2e0e8dd719827e45ae (diff)
downloadgnutls-13aaefba524688c01955f5cc285c5568f107c534.tar.gz
build: disable valgrind tests by default
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/valgrind-tests.m42
-rw-r--r--gl/override/m4/valgrind-tests.m4.diff9
2 files changed, 10 insertions, 1 deletions
diff --git a/gl/m4/valgrind-tests.m4 b/gl/m4/valgrind-tests.m4
index d694f26cd3..b43310b87a 100644
--- a/gl/m4/valgrind-tests.m4
+++ b/gl/m4/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
diff --git a/gl/override/m4/valgrind-tests.m4.diff b/gl/override/m4/valgrind-tests.m4.diff
index eb1087d5cd..bfc912dc1e 100644
--- a/gl/override/m4/valgrind-tests.m4.diff
+++ b/gl/override/m4/valgrind-tests.m4.diff
@@ -1,5 +1,14 @@
--- 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