summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-25 10:41:52 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-25 10:41:52 -0800
commitbfd2170d58f8dde8d5cc86bffe2b9f3bda3c5186 (patch)
tree10f5759083405cee1bbb54f24be9ed59a0b4dde8
parent141339e96bd4cd6d2190a40a66d918f6f8d50377 (diff)
Run leakcheck in travis build.
-rw-r--r--.travis.yml2
-rw-r--r--Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 460f263..d62e8a8 100644
--- 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
index 7d7e78c..2dc9e5b 100644
--- 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 \