cmark

My personal build of CMark ✏️

Commit
698dab76847e5d671cce42a0c0ce2c98c5f07776
Parent
c6468f480a589a4520e667f46afb05cdad17f3d2
Author
John MacFarlane <jgm@berkeley.edu>
Date

leakcheck: Have valgrind return error code on errors.

This should perhaps be integrated into the cmake tests?

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 2 1 1
diff --git a/Makefile b/Makefile
@@ -106,7 +106,7 @@ testziparchive: $(ZIPARCHIVE)
 	mkdir build && cd build && cmake .. && make && ctest -V
 
 leakcheck: $(PROG)
-	cat leakcheck.md | valgrind --leak-check=full --dsymutil=yes $(PROG)
+	cat leakcheck.md | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG)
 
 fuzztest:
 	{ for i in `seq 1 10`; do \