[Libreoffice-commits] core.git: solenv/gbuild
Stephan Bergmann
sbergman at redhat.com
Sun Dec 8 13:17:28 PST 2013
solenv/gbuild/CppunitTest.mk | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 9a8c70bc94f3d62e9a0dd5efd896681bec3f3160
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Dec 8 22:17:01 2013 +0100
Give each CppunitTest its own UserInstallation
Change-Id: I0772c596a3d49e63a728281261db21817fcda156
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index b3d6c96..b2c268d 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -52,6 +52,7 @@ define gb_CppunitTest__make_args
$(HEADLESS) \
"-env:BRAND_BASE_DIR=$(call gb_Helper_make_url,$(INSTROOT))" \
"-env:BRAND_SHARE_SUBDIR=share" \
+"-env:UserInstallation=$(call gb_Helper_make_url,$(call gb_CppunitTest_get_target,$*).user)" \
$(if $(URE),\
$(if $(strip $(CONFIGURATION_LAYERS)),\
"-env:CONFIGURATION_LAYERS=$(strip $(CONFIGURATION_LAYERS))") \
@@ -77,6 +78,7 @@ $(call gb_CppunitTest_get_target,%) :| $(gb_CppunitTest_CPPTESTDEPS)
$(call gb_Output_announce,$*,$(true),CUT,2)
$(call gb_Helper_abbreviate_dirs,\
mkdir -p $(dir $@) && \
+ rm -fr $@.user && mkdir $@.user && \
$(if $(gb_CppunitTest__interactive),, \
$(if $(value gb_CppunitTest_postprocess), \
rm -fr $@.core && mkdir $@.core && cd $@.core &&)) \
More information about the Libreoffice-commits
mailing list