diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-19 20:05:03 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-19 20:05:03 -0800 |
commit | 698dab76847e5d671cce42a0c0ce2c98c5f07776 (patch) | |
tree | 8ccbf43bbb4bada7cbcd669df902a634eac20622 | |
parent | c6468f480a589a4520e667f46afb05cdad17f3d2 (diff) |
leakcheck: Have valgrind return error code on errors.
This should perhaps be integrated into the cmake tests?
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |