summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-19 20:05:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-19 20:05:03 -0800
commit698dab76847e5d671cce42a0c0ce2c98c5f07776 (patch)
tree8ccbf43bbb4bada7cbcd669df902a634eac20622
parentc6468f480a589a4520e667f46afb05cdad17f3d2 (diff)
leakcheck: Have valgrind return error code on errors.
This should perhaps be integrated into the cmake tests?
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 317e5d1..cb8c687 100644
--- 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 \