]> git.llucax.com Git - software/posixx.git/commitdiff
Make make memtest fail if valgrind found errors
authorLeandro Lucarella <llucarella@integratech.com.ar>
Tue, 16 Sep 2008 13:18:18 +0000 (10:18 -0300)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Tue, 16 Sep 2008 15:04:03 +0000 (12:04 -0300)
test/Makefile

index 94e3b2cb25996c2696ebd3d800db149bac40a60e..edf09572dd4dc540896e08deab35e4ff54d15e4b 100644 (file)
@@ -10,7 +10,7 @@ TESTCMD = ./$(TESTPRG) --detect_memory_leak=1 --report_level=short \
 
 VALGRIND = valgrind --tool=memcheck --leak-check=yes --db-attach=no \
                --num-callers=24 --leak-resolution=high --track-fds=yes \
-               --suppressions=valgrind.suppressions
+               --suppressions=valgrind.suppressions --error-exitcode=1
 
 
 SOURCES = $(shell find -name '*.cpp')