Turn on ASAN for macOS regress.

This commit is contained in:
Nicholas Marriott
2026-07-12 20:59:11 +01:00
parent 330bedfb47
commit 4f981a2506
3 changed files with 3 additions and 4 deletions

View File

@@ -14,8 +14,7 @@ all:
rm -f "$$log"; \
printf '%-40s ' "$$test"; \
start=$$(date +%s); \
ASAN_OPTIONS="abort_on_error=1:detect_leaks=0:$$ASAN_OPTIONS"; \
env -i LC_CTYPE=C.UTF-8 ASAN_OPTIONS="$$ASAN_OPTIONS" \
env -i LC_CTYPE=C.UTF-8 MallocNanoZone=0 \
sh -x "$$test" >"$$log" 2>&1; \
if [ $$? -eq 0 ]; then \
end=$$(date +%s); \