[Libreoffice-commits] core.git: solenv/gbuild
Michael Stahl
mstahl at redhat.com
Wed Jul 1 08:39:52 PDT 2015
solenv/gbuild/CppunitTest.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 16f2eea5afb464d8a9d8451dc4a8f530a05dc5bb
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Jul 1 14:48:57 2015 +0200
gbuild: CppunitTest: don't hang with DEBUGCPPUNIT=TRUE ...
... if the process exits before the "bt" command, because then gdb will
print an error that there is no stack and stop the script before "quit".
Change-Id: I0f3a1381e17dda7e8a7d958e0cbc96676bbc23ce
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 22c91c2..61f17dd 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -20,7 +20,7 @@
# CppunitTest class
ifeq ($(strip $(DEBUGCPPUNIT)),TRUE)
-gb_CppunitTest_GDBTRACE := gdb -nx -ex "add-auto-load-safe-path $(INSTDIR)" --command=$(SRCDIR)/solenv/bin/gdbtrycatchtrace-stdout -return-child-result --args
+gb_CppunitTest_GDBTRACE := gdb -nx -ex "add-auto-load-safe-path $(INSTDIR)" --batch --command=$(SRCDIR)/solenv/bin/gdbtrycatchtrace-stdout -return-child-result --args
else ifneq ($(strip $(CPPUNITTRACE)),)
gb_CppunitTest_GDBTRACE := $(CPPUNITTRACE)
gb_CppunitTest__interactive := $(true)
More information about the Libreoffice-commits
mailing list