mirror of
https://github.com/tmux/tmux.git
synced 2026-10-11 04:44:25 +00:00
Set ASAN_OPTIONS in regress Makefile.
This commit is contained in:
@@ -8,6 +8,7 @@ all:
|
|||||||
for test in $(TESTS); do \
|
for test in $(TESTS); do \
|
||||||
printf '%-40s ' "$$test"; \
|
printf '%-40s ' "$$test"; \
|
||||||
start=$$(date +%s); \
|
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 \
|
if env -i ASAN_OPTIONS="$$ASAN_OPTIONS" sh "$$test" >/dev/null 2>&1; then \
|
||||||
end=$$(date +%s); \
|
end=$$(date +%s); \
|
||||||
echo "PASS ($$((end - start))s)"; \
|
echo "PASS ($$((end - start))s)"; \
|
||||||
|
|||||||
Reference in New Issue
Block a user