diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-03-16 16:11:55 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-03-16 16:14:38 -0400 |
commit | c71131e83f0d75ead253e3f7f2b53ef9872c20ca (patch) | |
tree | 27912d36008ff162e4c9d2fa6285c54d5ede579f /solenv/gbuild/CppunitTest.mk | |
parent | df78a7e1c9069414348ae4fd006b3a8096af4b94 (diff) |
auto-load the gdb helpers for cppunit test debugging
Change-Id: I75e08fa1de5affdb3b42d169bb5ccac50c8c736e
Diffstat (limited to 'solenv/gbuild/CppunitTest.mk')
-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 aa3900b0cafb..8e809d021b00 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -33,7 +33,7 @@ UNIT_FAILED_MSG := echo; echo "Error: a unit test failed, please do one of:"; echo; echo "export DEBUGCPPUNIT=TRUE \# for exception catching"; echo "export GDBCPPUNITTRACE=\"gdb --args\" \# for interactive debugging"; echo "export VALGRIND=memcheck \# for memory checking" ; echo "and retry." ifeq ($(strip $(DEBUGCPPUNIT)),TRUE) -gb_CppunitTest_GDBTRACE := gdb -nx --command=$(SOLARENV)/bin/gdbtrycatchtrace-stdout -return-child-result --args +gb_CppunitTest_GDBTRACE := gdb -nx -ex "add-auto-load-safe-path $(OUTDIR)/lib" --command=$(SOLARENV)/bin/gdbtrycatchtrace-stdout -return-child-result --args else ifneq ($(strip $(GDBCPPUNITTRACE)),) gb_CppunitTest_GDBTRACE := $(GDBCPPUNITTRACE) gb_CppunitTest__interactive := $(true) |