- Commit
- 39ae2629ff9f343669a24cb22890fb5b6645a4ab
- Parent
- 536754ea42d7025a2917a9407ad81a9aaaca7b92
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
leakcheck with all formats
My personal build of CMark ✏️
leakcheck with all formats
1 file changed, 3 insertions, 3 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | Makefile | 6 | 3 | 3 |
diff --git 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 \