From: Alexander Sosedkin Date: Fri, 10 Dec 2021 12:47:21 +0000 (+0100) Subject: tests: fix out of tree builds with ASAN X-Git-Tag: 3.7.3~18^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f25dd56831e4e596f31418c25b7b4165171d6450;p=thirdparty%2Fgnutls.git tests: fix out of tree builds with ASAN Signed-off-by: Alexander Sosedkin --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 9015c467f8..1abffc475e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -592,7 +592,7 @@ TESTS_ENVIRONMENT += \ CC="$(CC)" \ CFLAGS="$(CFLAGS)" \ LC_ALL="C" \ - LSAN_OPTIONS=suppressions=gnutls-asan.supp \ + LSAN_OPTIONS=suppressions=$(srcdir)/gnutls-asan.supp \ CAFILE=$(srcdir)/cert-tests/data/ca-certs.pem \ P11MOCKLIB1=$(abs_builddir)/.libs/libpkcs11mock1.so \ P11MOCKLIB2=$(abs_builddir)/.libs/libpkcs11mock2.so \ diff --git a/tests/slow/Makefile.am b/tests/slow/Makefile.am index 746f8e65bd..82d58e594c 100644 --- a/tests/slow/Makefile.am +++ b/tests/slow/Makefile.am @@ -56,7 +56,7 @@ EXTRA_DIST = README gnutls-asan.supp TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) \ LC_ALL="C" \ - LSAN_OPTIONS=suppressions=gnutls-asan.supp \ + LSAN_OPTIONS=suppressions=$(srcdir)/gnutls-asan.supp \ GNUTLS_TEST_SUITE_RUN=1 \ OPENSSL_ia32cap=0x00000000 \ GNUTLS_SYSTEM_PRIORITY_FILE=$(abs_top_srcdir)/tests/system.prio \