diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-16 19:24:51 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-16 19:27:01 +0200 |
commit | 673929607943e59e7c6c373d15f157c57307489b (patch) | |
tree | f6413fb371db7e8db98fb70ba25d0d956a3e4a5f /solenv | |
parent | 934952678ba68d8137f6855aa71fa593c3158b02 (diff) |
add VALGRIND_GDB also for normal unit tests
Change-Id: I1920ece6ca683403d72a68b6705da2dea7c9ad9b
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index 313d24cf819e..5ab32cac3b3b 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 |