vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 71434d6dc71579dba535bffd33ac85811e3c22fb
parent 6e595d528ed12302bd5ed49defce619cbb6721a3
Author: Marc André Tanner <mat@brain-dump.org>
Date: Thu, 22 Dec 2016 12:43:42 +0100
test/core: add make {a,ub}san targets
Diffstat:
| M | core/Makefile | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/core/Makefile b/core/Makefile @@ -36,6 +36,12 @@ debug: clean coverage: clean $(MAKE) CFLAGS_EXTRA='--coverage' +asan: clean + $(MAKE) CFLAGS_EXTRA='-fsanitize=address' + +ubsan: clean + $(MAKE) CFLAGS_EXTRA='-fsanitize=undefined' + valgrind: clean ${ALL} @for test in ${ALL}; do \ valgrind --leak-check=full --log-file="$$test.valgrind" "./$$test"; \ @@ -55,4 +61,4 @@ clean: @rm -f *.gcov *.gcda *.gcno @rm -f *.valgrind -.PHONY: clean debug coverage tis valgrind +.PHONY: clean debug coverage tis valgrind asan ubsan