From: Debian LibreOffice Maintainers Date: Mon, 23 Sep 2019 10:39:49 +0000 (+0100) Subject: do-not-hide-test-output X-Git-Tag: archive/raspbian/1%6.3.2-1+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2dbd8686dd8cf1f3ec90d90b562d91a424a7397e;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 4d7d645ed40..dae9eaef30c 100644 --- a/odk/build-examples_common.mk +++ b/odk/build-examples_common.mk @@ -33,11 +33,7 @@ endif && printf 'yes\n' | LC_ALL=C make \ CC="$(CXX)" LINK="$(CXX)" LIB="$(CXX)" \ $(if $(filter MACOSX,$(OS)), SHELL=$(ODK_BUILD_SHELL), )))) \ - >$(call gb_CustomTarget_get_workdir,$(1))/log 2>&1 \ - || (RET=$$$$? \ - $(if $(filter MACOSX,$(OS)), && rm -f $(ODK_BUILD_SHELL) , ) \ - && cat $(call gb_CustomTarget_get_workdir,$(1))/log \ - && exit $$$$RET) + 2>&1 ifeq (MACOSX,$(OS)) -rm -f $(ODK_BUILD_SHELL) endif diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index 98f05417c5e..a618bede357 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 5a584e06895..a47e2749da8 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 07bbf7f397d..f484aff5c3b 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 2e511041288..2d73c4b9fd8 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