do-not-hide-test-output
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Fri, 6 Sep 2019 09:52:03 +0000 (10:52 +0100)
committerRene Engelhard <rene@debian.org>
Fri, 6 Sep 2019 09:52:03 +0000 (10:52 +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 931d6eea856e6fbc2e2ed841aeb8a5c42f9a6f5a..5ea56e959bfcdeb530df4dde302ff25856d195d0 100644 (file)
@@ -32,11 +32,7 @@ endif
            && (cd $(INSTDIR)/$(SDKDIRNAME)/examples/$(my_dir) \
                && printf 'yes\n' | LC_ALL=C make \
                    $(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 45af5c9b25a7aadb6fe9763d889a72ef72ec8446..7933fc84c8b2db63ac7f409c5d990a54885203a1 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 36f29b50ef2830a5d1ad5d144014c580022dd8b0..3ac4603ff6a0f66e5f764aa47a41317556083772 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 9b0590e35d2a1ececd622bb27b64b4add66dc488..3a1d7d9caceb51a10b5f231f5b11d1460006abf6 100644 (file)
@@ -58,12 +58,7 @@ else
                $(gb_CppunitTest_GDBTRACE) $(gb_CppunitTest_VALGRINDTOOL) \
                        $(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 03d30448ef7b0fadc14f9441ab887ec3d205923c..5628e47866f8dc773c6c14a4c96d66e6843b0458 100644 (file)
@@ -77,16 +77,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