Set ASAN_OPTIONS in regress Makefile.

This commit is contained in:
Nicholas Marriott
2026-07-04 09:15:32 +01:00
parent 31b0b0c99e
commit 1d7021130d

View File

@@ -8,6 +8,7 @@ all:
for test in $(TESTS); do \
printf '%-40s ' "$$test"; \
start=$$(date +%s); \
ASAN_OPTIONS="abort_on_error=1:detect_leaks=0:$$ASAN_OPTIONS"; \
if env -i ASAN_OPTIONS="$$ASAN_OPTIONS" sh "$$test" >/dev/null 2>&1; then \
end=$$(date +%s); \
echo "PASS ($$((end - start))s)"; \