summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-01-25 03:24:34 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-01-25 10:12:22 +0100
commit6fc90ae2b91af05887ee2d0f9b35bab84a706504 (patch)
tree470a8b97e5fc20e36d3d21c67554649df026336f
parent1b236ea41ee318189c130eb5f14de660ab083726 (diff)
downloadgnutls-6fc90ae2b91af05887ee2d0f9b35bab84a706504.tar.gz
configure: do not disable valgrind tests unless explicitly specified
... or unless we are in release build. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index cbe16858bb..13e745f5e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -358,13 +358,11 @@ AC_ARG_ENABLE(full-test-suite,
AS_HELP_STRING([--disable-full-test-suite], [disable running very slow components of test suite]),
full_test_suite=$enableval, full_test_suite=yes)
-# test if we are in git master
+# test if we are in git master or in release build. In release
+# builds we do not use valgrind.
SUITE_FILE="${srcdir}/tests/suite/mini-eagain2.c"
if test "$full_test_suite" = yes && test ! -f "$SUITE_FILE";then
full_test_suite=no
-fi
-
-if test "$full_test_suite" != "yes";then
VALGRIND=""
AC_SUBST(VALGRIND, [])
opt_valgrind_tests=no