do-not-hide-test-output
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 21 Jul 2019 17:55:13 +0000 (18:55 +0100)
committerRene Engelhard <rene@debian.org>
Sun, 21 Jul 2019 17:55:13 +0000 (18:55 +0100)
Gbp-Pq: Name do-not-hide-test-output.diff

odk/build-examples_common.mk
solenv/gbuild/CppunitTest.mk
solenv/gbuild/JunitTest.mk
solenv/gbuild/PythonTest.mk
solenv/gbuild/UITest.mk

index 4d7d645ed40abde667ba64697ac8448c1778e173..dae9eaef30c17735ff1a81f630d84cf3df84a1d2 100644 (file)
@@ -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
index 98f05417c5e82fa6caaf4f68057622e98da8533a..a618bede3577182bbe443de04a3b003f69c42959 100644 (file)
@@ -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
index 5a584e06895bd0ac0b2e5bc361022a747e78c6da..a47e2749da8088ad81ccf967daec31ed0da37f0a 100644 (file)
@@ -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
 
index 07bbf7f397d8ecf650bbbd2eeb164bcfac102397..f484aff5c3bb1304382f07b02d92f4ee4df62168 100644 (file)
@@ -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
index 2e511041288318743a99b6a1cf311cadc467349b..2d73c4b9fd825731eb88185ef320063e13271965 100644 (file)
@@ -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