Kaydet (Commit) 127bfe4a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Include gdb backtrace in PythonTest done.long (just as for CppunitTest)

Change-Id: Idc671a4af5474443130afed2dd6f0728c1504319
üst 98282064
...@@ -33,8 +33,6 @@ $(call gb_PythonTest_get_clean_target,%) : ...@@ -33,8 +33,6 @@ $(call gb_PythonTest_get_clean_target,%) :
ifneq ($(DISABLE_PYTHON),TRUE) ifneq ($(DISABLE_PYTHON),TRUE)
# pass a hard-coded 139 to the gdb postprocess script to match soffice.bin
# signal exit values (assumption: non-0 exit value here means it crashed)
.PHONY : $(call gb_PythonTest_get_target,%) .PHONY : $(call gb_PythonTest_get_target,%)
$(call gb_PythonTest_get_target,%) :| $(gb_PythonTest_DEPS) $(call gb_PythonTest_get_target,%) :| $(gb_PythonTest_DEPS)
$(call gb_Output_announce,$*,$(true),PYT,2) $(call gb_Output_announce,$*,$(true),PYT,2)
...@@ -58,10 +56,10 @@ $(call gb_PythonTest_get_target,%) :| $(gb_PythonTest_DEPS) ...@@ -58,10 +56,10 @@ $(call gb_PythonTest_get_target,%) :| $(gb_PythonTest_DEPS)
$(MODULES) \ $(MODULES) \
$(if $(gb_CppunitTest__interactive),, \ $(if $(gb_CppunitTest__interactive),, \
> $@.log 2>&1 \ > $@.log 2>&1 \
|| (cat $@.log \ || ($(if $(value gb_CppunitTest_postprocess), \
$(if $(value gb_CppunitTest_postprocess), \ RET=$$?; \
&& $(call gb_CppunitTest_postprocess,$(gb_PythonTest_EXECUTABLE_GDB),$@.core,139)) \ $(call gb_CppunitTest_postprocess,$(gb_PythonTest_EXECUTABLE_GDB),$@.core,$$RET) >> $@.log 2>&1;) \
&& $(SRCDIR)/solenv/bin/unittest-failed.sh Python $*)))) cat $@.log; $(SRCDIR)/solenv/bin/unittest-failed.sh Python $*))))
# always use udkapi and URE services # always use udkapi and URE services
define gb_PythonTest_PythonTest define gb_PythonTest_PythonTest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment