diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-01 14:48:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-01 17:33:34 +0200 |
commit | 16f2eea5afb464d8a9d8451dc4a8f530a05dc5bb (patch) | |
tree | 78ecbd6f070f23e7eb9ef826114f5d5e6a6142e0 /solenv | |
parent | parseFileLeniently is always called with data_ as argument (diff) | |
download | core-16f2eea5afb464d8a9d8451dc4a8f530a05dc5bb.tar.gz core-16f2eea5afb464d8a9d8451dc4a8f530a05dc5bb.zip |
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
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index 22c91c205476..61f17dd9faf5 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) |