solenv/gbuild/CppunitTest.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d0f4740843a052cd444efbd142ef2b66e233ddb9
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Dec 25 11:32:57 2020 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Dec 25 14:16:27 2020 +0100

    Revert "Use { ... } for grouping that does not need a sub-shell"
    
    This reverts commit 51f4691e7f4f3bceac1d5ec9cbbf37de7e71e471.  The
    gb_CppunitTest_localized case did need the sub-shell for its
    
      $(if $(gb_CppunitTest_localized),|| exit $$?; done) \
    
    part, or else a failed sub-command would exit the whole recipe line and 
suppress
    the non-gb_CppunitTest__interactive postprocessing part.
    
    Change-Id: I115388ce4fe834f73ebd0abf2591775189c0121b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108280
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 9d32cc2533ca..a296ef73a932 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -130,7 +130,7 @@ else
                $(if $(gb_CppunitTest__interactive),, \
                        $(if $(value gb_CppunitTest_postprocess), \
                                rm -fr $@.core && mkdir $@.core && cd $@.core 
&&)) \
-               { \
+               ( \
                $(if $(gb_CppunitTest_localized),for l in $(WITH_LANG_LIST) ; 
do \
                        printf 'LO_TEST_LOCALE=%s\n' "$$l" && 
LO_TEST_LOCALE="$$l" ) \
                $(if 
$(gb_CppunitTest_PREGDBTRACE),$(gb_CppunitTest_PREGDBTRACE) &&) \
@@ -149,7 +149,7 @@ else
                $(if $(gb_CppunitTest_POSTGDBTRACE), \
                        ; RET=$$? && $(gb_CppunitTest_POSTGDBTRACE) && (exit 
$$RET)) \
                $(if $(gb_CppunitTest_localized),|| exit $$?; done) \
-               ; } \
+               ) \
                $(if $(gb_CppunitTest__interactive),, \
                        > $@.log 2>&1 \
                        || ($(if $(value gb_CppunitTest_postprocess), \
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to