summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-01 14:48:57 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-01 17:33:34 +0200
commit16f2eea5afb464d8a9d8451dc4a8f530a05dc5bb (patch)
tree78ecbd6f070f23e7eb9ef826114f5d5e6a6142e0 /solenv
parentba4759f61afff49d2c3b5d2756340c465235834e (diff)
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.mk2
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)