[Libreoffice-commits] .: 2 commits - solenv/gbuild
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 5 02:28:46 PST 2012
solenv/gbuild/CppunitTest.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7a3988aca2c649253575bee6a582189f846c80b2
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Wed Dec 5 11:25:58 2012 +0100
and valgrind leak errors or other info is probably not useful in unittests
Change-Id: Id3d899e7e9ef86d0f3a24502af74ec3a554037ea
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 03c4523..047cf81 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -40,7 +40,7 @@ gb_CppunitTest__interactive := $(true)
endif
ifneq ($(strip $(VALGRIND)),)
-gb_CppunitTest_VALGRINDTOOL := valgrind --tool=$(VALGRIND) --num-callers=50 --error-exitcode=1
+gb_CppunitTest_VALGRINDTOOL := valgrind --tool=$(VALGRIND) --num-callers=50 --error-exitcode=1 --quiet --leak-check=no
ifeq ($(strip $(VALGRIND)),memcheck)
G_SLICE := always-malloc
GLIBCXX_FORCE_NEW := 1
commit b82f2f3b3a38a356ee71beab669d0aef6a941a02
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Wed Dec 5 11:16:06 2012 +0100
make unittests abort build if valgrind finds any error in them
Change-Id: I4b71b82cb426a185c6534f5a6a7c1eef422b2699
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 823b78d..03c4523 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -40,7 +40,7 @@ gb_CppunitTest__interactive := $(true)
endif
ifneq ($(strip $(VALGRIND)),)
-gb_CppunitTest_VALGRINDTOOL := valgrind --tool=$(VALGRIND) --num-callers=50
+gb_CppunitTest_VALGRINDTOOL := valgrind --tool=$(VALGRIND) --num-callers=50 --error-exitcode=1
ifeq ($(strip $(VALGRIND)),memcheck)
G_SLICE := always-malloc
GLIBCXX_FORCE_NEW := 1
More information about the Libreoffice-commits
mailing list