diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-03 13:39:43 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-01-03 13:39:43 +0100 |
commit | 9e208ba4893b969a7c12ead52e0961ce8d6cd027 (patch) | |
tree | f5e77cd547a5df17cd6ca9814c1010b6092b53e6 | |
parent | 5f87433d51b2bb5246be4195fe03c1cacef5042b (diff) | |
download | gnutls-9e208ba4893b969a7c12ead52e0961ce8d6cd027.tar.gz |
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 <nmav@redhat.com>
-rw-r--r-- | tests/key-tests/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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)" \ |