Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
tests: Don't set detect_leaks on FreeBSD
Mark Johnston committed 7 months ago
commit 7a64b3fad17951d649626d87d93f1e5541733a0d
parent bc63748
1 file changed +3 -1
modified Makefile.autosetup
@@ -30,7 +30,9 @@ all: Kyuafile Makefile
check: UndefinedBehaviour.suppress Leak.suppress
	export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1:suppressions=$(top_builddir)/UndefinedBehaviour.suppress; \
	export LSAN_OPTIONS=print_suppressions=0:suppressions=$(top_builddir)/Leak.suppress; \
-
	export ASAN_OPTIONS=detect_leaks=1; \
+
	if [ "$$(uname)" != "FreeBSD" ]; then \
+
		export ASAN_OPTIONS=detect_leaks=1 ; \
+
	fi ; \
	export LLVM_PROFILE_FILE=/tmp/pkg.%p.profraw; \
	if [ "$(HTML)" != "" ]; then \
		args="-r $(top_builddir)/res.db" ; \