From 9e208ba4893b969a7c12ead52e0961ce8d6cd027 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 3 Jan 2017 13:39:43 +0100 Subject: tests: do not run key-tests under leak sanitizer The reason is that we cannot distinguish between a memory leak on application failure (which is followed by exit- thus should be ignored) and an address sanitizer issue (which should never be ignored). As such we disable leak detection with asan and rely on valgrind. Signed-off-by: Nikos Mavrogiannopoulos --- tests/key-tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/key-tests/Makefile.am b/tests/key-tests/Makefile.am index 84f761e2d9..7a58ced720 100644 --- a/tests/key-tests/Makefile.am +++ b/tests/key-tests/Makefile.am @@ -44,7 +44,7 @@ TESTS += dsa endif TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \ - ASAN_OPTIONS="exitcode=6" \ + ASAN_OPTIONS="detect_leaks=0:exitcode=6" \ LC_ALL="C" \ VALGRIND="$(VALGRIND)" \ top_builddir="$(top_builddir)" \ -- cgit v1.2.1