aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \