From: Leandro Lucarella Date: Tue, 16 Sep 2008 13:18:18 +0000 (-0300) Subject: Make make memtest fail if valgrind found errors X-Git-Url: https://git.llucax.com/software/posixx.git/commitdiff_plain/b79c4060e2a0ff03c3548b8d4e1bc181414c8e16 Make make memtest fail if valgrind found errors --- diff --git a/test/Makefile b/test/Makefile index 94e3b2c..edf0957 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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')