diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-08 22:17:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-08 22:17:01 +0100 |
commit | 9a8c70bc94f3d62e9a0dd5efd896681bec3f3160 (patch) | |
tree | b6786ee9bf1557d107b70eecc4b7d6d870372ceb /solenv | |
parent | c85f1ed54f64bb7c7d309ec87df9ce8027a4a108 (diff) |
Give each CppunitTest its own UserInstallation
Change-Id: I0772c596a3d49e63a728281261db21817fcda156
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/CppunitTest.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index b3d6c96eda0b..b2c268ddeaf7 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 &&)) \ |