summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-09 12:03:33 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-09 12:03:35 +0100
commiteaeec9a1f61e4f422d9a8f6ccdc52b14cf9066bd (patch)
tree1dd0ef00036b066d1bb654541e9cfea9d3bda7a6
parent90188bd6a9d80a9e4e3ca171198d764b274adf21 (diff)
downloadgnutls-eaeec9a1f61e4f422d9a8f6ccdc52b14cf9066bd.tar.gz
tests: disable ASAN leak checks on certificate tests
These detect memory leaks in the tools in src/ which are not critical nor there is serious reason to address.
-rw-r--r--tests/cert-tests/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am
index a3160ffcb7..8d4923ad4f 100644
--- a/tests/cert-tests/Makefile.am
+++ b/tests/cert-tests/Makefile.am
@@ -105,11 +105,14 @@ endif
TESTS = $(dist_check_SCRIPTS)
+# Set detect_leaks=0 to ASAN. It seems it is detecting many leaks in tools
+# which are not trivial, and makes no point to address.
TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \
LC_ALL="C" \
VALGRIND="$(VALGRIND)" \
LIBTOOL="$(LIBTOOL)" \
top_builddir="$(top_builddir)" \
+ ASAN_OPTIONS="detect_leaks=0" \
srcdir="$(srcdir)"
if ENABLE_FIPS140