From: Debian LibreOffice Maintainers Date: Thu, 21 May 2020 11:43:43 +0000 (+0100) Subject: do-not-hide-test-output X-Git-Tag: archive/raspbian/1%6.4.4-1+rpi1^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0529442a3dc8eeefbd577ce77a7bb77ea2df9d17;p=libreoffice.git do-not-hide-test-output Gbp-Pq: Name do-not-hide-test-output.diff --- diff --git a/odk/build-examples_common.mk b/odk/build-examples_common.mk index 50ea40ec905..6cbb85a9ee0 100644 --- a/odk/build-examples_common.mk +++ b/odk/build-examples_common.mk @@ -50,11 +50,7 @@ endif && printf 'yes\n' | LC_ALL=C make \ CC="$(CXX)" LINK="$(CXX)" LIB="$(CXX)" \ $(if $(MACOSX_SHELL_HACK), SHELL=$(ODK_BUILD_SHELL), )))) \ - >$(call gb_CustomTarget_get_workdir,$(1))/log 2>&1 \ - || (RET=$$$$? \ - $(if $(MACOSX_SHELL_HACK), && rm -f $(ODK_BUILD_SHELL) , ) \ - && cat $(call gb_CustomTarget_get_workdir,$(1))/log \ - && exit $$$$RET) + 2>&1 ifneq ($(MACOSX_SHELL_HACK),) -rm -f $(ODK_BUILD_SHELL) endif diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index f2a267e3e04..ab2d0d56681 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -139,12 +139,7 @@ else ; RET=$$? && $(gb_CppunitTest_POSTGDBTRACE) && (exit $$RET)) \ $(if $(gb_CppunitTest_localized),|| exit $$?; done) \ ) \ - $(if $(gb_CppunitTest__interactive),, \ - > $@.log 2>&1 \ - || ($(if $(value gb_CppunitTest_postprocess), \ - RET=$$?; \ - $(call gb_CppunitTest_postprocess,$(gb_CppunitTest_CPPTESTCOMMAND),$@.core,$$RET) >> $@.log 2>&1;) \ - cat $@.log; $(gb_CppunitTest_UNITTESTFAILED) Cppunit $*))) + 2>&1) endif define gb_CppunitTest_CppunitTest diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk index 2102d196d58..a42646eb532 100644 --- a/solenv/gbuild/JunitTest.mk +++ b/solenv/gbuild/JunitTest.mk @@ -44,17 +44,7 @@ else -classpath "$(T_CP)" \ $(DEFS) \ org.junit.runner.JUnitCore \ - $(CLASSES) > $@.log 2>&1 || \ - (cat $@.log \ - && echo "to rerun just this failed test without all others, run:" \ - && echo && echo " make JunitTest_$*" && echo \ - && echo "cd into the module dir to run the tests faster" \ - && echo "Or to do interactive debugging, run two shells with:" \ - && echo \ - && echo " make debugrun" \ - && echo " make gb_JunitTest_DEBUGRUN=T JunitTest_$*" \ - && echo \ - && false))) + $(CLASSES) 2>&1)) $(CLEAN_CMD) endif diff --git a/solenv/gbuild/PythonTest.mk b/solenv/gbuild/PythonTest.mk index 16bc7d2404a..e27eabe178b 100644 --- a/solenv/gbuild/PythonTest.mk +++ b/solenv/gbuild/PythonTest.mk @@ -59,12 +59,7 @@ else $(gb_CppunitTest_GDBTRACE) $(gb_CppunitTest_VALGRINDTOOL) $(gb_CppunitTest_RR) \ $(gb_PythonTest_COMMAND) \ $(if $(PYTHON_TEST_NAME),$(PYTHON_TEST_NAME),$(MODULES)) \ - $(if $(gb_CppunitTest__interactive),, \ - > $@.log 2>&1 \ - || ($(if $(value gb_CppunitTest_postprocess), \ - RET=$$?; \ - $(call gb_CppunitTest_postprocess,$(gb_PythonTest_EXECUTABLE_GDB),$@.core,$$RET) >> $@.log 2>&1;) \ - cat $@.log; $(gb_PythonTest_UNITTESTFAILED) Python $*)))) + 2>&1)) endif # always use udkapi and URE services diff --git a/solenv/gbuild/UITest.mk b/solenv/gbuild/UITest.mk index 5ae6774b7d8..5519651bd31 100644 --- a/solenv/gbuild/UITest.mk +++ b/solenv/gbuild/UITest.mk @@ -78,16 +78,7 @@ else --userdir=$(call gb_Helper_make_url,$(dir $(call gb_UITest_get_target,$*))user) \ --dir=$(strip $(MODULES)) \ $(gb_UITest_GDBTRACE) \ - $(if $(gb_UITest__interactive),, \ - > $@.log 2>&1 \ - || ($(if $(value gb_CppunitTest_postprocess), \ - RET=$$?; \ - $(call gb_CppunitTest_postprocess,$(gb_UITest_EXECUTABLE_GDB),$@.core,$$RET) >> $@.log 2>&1;) \ - $(if $(filter WNT,$(OS)), \ - printf '%s: <<<\n' $(dir $(call gb_UITest_get_target,$*))/soffice.out.log; \ - cat $(dir $(call gb_UITest_get_target,$*))/soffice.out.log; \ - printf ' >>>\n\n';) \ - cat $@.log; $(gb_UITest_UNITTESTFAILED) UI $*)))) + 2>&1)) endif # always use udkapi and URE services