diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-21 16:34:19 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-21 17:28:09 -0700 |
commit | 39ae2629ff9f343669a24cb22890fb5b6645a4ab (patch) | |
tree | 31c3f565fddcd3f8df1aa519a5af62860183921d /Makefile | |
parent | 536754ea42d7025a2917a9407ad81a9aaaca7b92 (diff) |
leakcheck with all formats
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 \ |