cmark

My personal build of CMark ✏️

Commit
bfd2170d58f8dde8d5cc86bffe2b9f3bda3c5186
Parent
141339e96bd4cd6d2190a40a66d918f6f8d50377
Author
John MacFarlane <jgm@berkeley.edu>
Date

Run leakcheck in travis build.

Diffstat

2 files changed, 3 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified .travis.yml 2 2 0
Modified Makefile 2 1 1
diff --git a/.travis.yml b/.travis.yml
@@ -7,3 +7,5 @@ before_install:
  - sudo apt-get install -qq re2c pandoc valgrind
 script:
  - make testtarball
+ - export PROG=`ls cmark-*.*/build/src/cmark`
+ - make leakcheck
diff --git a/Makefile b/Makefile
@@ -107,7 +107,7 @@ testziparchive: $(ZIPARCHIVE)
 	mkdir build && cd build && cmake .. && make && ctest -V
 
 leakcheck: $(PROG)
-	cat leakcheck.md | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG)
+	cat leakcheck.md | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) >/dev/null
 
 fuzztest:
 	{ for i in `seq 1 10`; do \