diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-09-24 10:27:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-09-24 13:46:54 +0200 |
commit | 78f8e6f4eb8191eebcc4d5c5e6335ef248b43869 (patch) | |
tree | db357019432bcef5403b928e9be8cf130d151de6 /solenv/gbuild/platform/com_GCC_class.mk | |
parent | 28d4d1e30b46f3de48fa9eca28770c3deef1623f (diff) |
Move some settings from just DEBUGCPPUNIT to all gdb CPPUNITTRACE
For one, it is probably a good idea to always (a) return the tested process'
exit code, and (b) help users without a proper .gdbinit by setting
auto-load-safe-path. And for another, this change works towards the goal of
implementing DEBUGCPPUNIT as a special case of CPPUNITTRACE, ultimately
simplifying the setting of gb_CppunitTest_GDBTRACE.
Change-Id: I186434fa8645d8b068c69dbcfedf9b7d6374f99c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103297
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv/gbuild/platform/com_GCC_class.mk')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_class.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk index 93f750c4ce56..ea4f69efcd35 100644 --- a/solenv/gbuild/platform/com_GCC_class.mk +++ b/solenv/gbuild/platform/com_GCC_class.mk @@ -194,7 +194,7 @@ endef # CppunitTest class ifeq ($(strip $(DEBUGCPPUNIT)),TRUE) -gb_CppunitTest_GDBTRACE := gdb -nx -ex "add-auto-load-safe-path $(INSTDIR)" -ex "set environment $(subst =, ,$(gb_CppunitTest_CPPTESTPRECOMMAND))" --batch --command=$(SRCDIR)/solenv/bin/gdbtrycatchtrace-stdout -return-child-result --args +gb_CppunitTest_GDBTRACE := gdb -nx -ex "set environment $(subst =, ,$(gb_CppunitTest_CPPTESTPRECOMMAND))" --batch --command=$(SRCDIR)/solenv/bin/gdbtrycatchtrace-stdout --args endif # ExternalProject class |