summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-03-21 16:34:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-03-21 17:28:09 -0700
commit39ae2629ff9f343669a24cb22890fb5b6645a4ab (patch)
tree31c3f565fddcd3f8df1aa519a5af62860183921d /Makefile
parent536754ea42d7025a2917a9407ad81a9aaaca7b92 (diff)
leakcheck with all formats
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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 \