From 39ae2629ff9f343669a24cb22890fb5b6645a4ab Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 21 Mar 2015 16:34:19 -0700 Subject: leakcheck with all formats --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7cf1cc8..cedee8c 100644 --- a/Makefile +++ b/Makefile @@ -113,9 +113,9 @@ $(ALLTESTS): $(SPEC) python3 test/spec_tests.py --spec $< --dump-tests | python3 -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print("\n".join([test["markdown"] for test in tests]))' > $@ leakcheck: $(ALLTESTS) - cat $< | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) >/dev/null - cat $< | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) -t man >/dev/null - cat $< | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) -t xml >/dev/null + for format in html man xml commonmark; do \ + cat $< | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) -t $$format >/dev/null; \ + done fuzztest: { for i in `seq 1 10`; do \ -- cgit v1.2.3