[Libreoffice-commits] core.git: solenv/gbuild
Markus Mohrhard
markus.mohrhard at googlemail.com
Sat Apr 16 17:27:29 UTC 2016
solenv/gbuild/CppunitTest.mk | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 673929607943e59e7c6c373d15f157c57307489b
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat Apr 16 19:24:51 2016 +0200
add VALGRIND_GDB also for normal unit tests
Change-Id: I1920ece6ca683403d72a68b6705da2dea7c9ad9b
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 313d24c..5ab32ca 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -31,6 +31,9 @@ endif
ifneq ($(strip $(VALGRIND)),)
gb_CppunitTest_VALGRINDTOOL := valgrind --tool=$(VALGRIND) --num-callers=50 --error-exitcode=1 --trace-children=yes --trace-children-skip='*/java,*/gij'
+ifneq ($(strip $(VALGRIND_GDB)),)
+gb_CppunitTest_VALGRINDTOOL += --vgdb=yes --vgdb-error=0
+endif
ifeq ($(strip $(VALGRIND)),memcheck)
G_SLICE := always-malloc
GLIBCXX_FORCE_NEW := 1
More information about the Libreoffice-commits
mailing list