diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-01-09 08:46:01 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-01-09 08:46:01 +0100 |
commit | e0d66aadb2a7d4e724a3b50ff377c30f3b90965c (patch) | |
tree | f3a7e8613835d1eb06f7603880fc86247d883ad6 | |
parent | 5b31e88d170df6ce07187fbc397cb8e3e1dcb59c (diff) | |
download | gnutls-e0d66aadb2a7d4e724a3b50ff377c30f3b90965c.tar.gz |
tests: do not run key-tests and cert-tests under leak sanitizergnutls_3_3_26
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@gnutls.org>
-rw-r--r-- | tests/cert-tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/key-tests/Makefile.am | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am index 6092513449..cd326c3b2f 100644 --- a/tests/cert-tests/Makefile.am +++ b/tests/cert-tests/Makefile.am @@ -49,6 +49,7 @@ TESTS += dane endif TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \ + ASAN_OPTIONS="detect_leaks=0:exitcode=6" \ LC_ALL="C" \ VALGRIND="$(VALGRIND)" \ LIBTOOL="$(LIBTOOL)" \ diff --git a/tests/key-tests/Makefile.am b/tests/key-tests/Makefile.am index 96359ba640..041c133e2b 100644 --- a/tests/key-tests/Makefile.am +++ b/tests/key-tests/Makefile.am @@ -29,6 +29,7 @@ dist_check_SCRIPTS = key-id pkcs8 pkcs8-invalid TESTS = key-id pkcs8 pkcs8-invalid TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \ + ASAN_OPTIONS="detect_leaks=0:exitcode=6" \ LC_ALL="C" \ top_builddir="$(top_builddir)" \ srcdir="$(srcdir)" |