Kaydet (Commit) 5b878718 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: allow to specify a different configuration for tests

Change-Id: I29dec3237c46007a5c3dce02d70052a4891ec73f
Reviewed-on: https://gerrit.libreoffice.org/35439Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 7b3825c6
......@@ -42,7 +42,9 @@ $(call gb_UITest_get_target,%) :| $(gb_UITest_DEPS)
rm -rf $(dir $(call gb_UITest_get_target,$*)) && \
mkdir -p $(dir $(call gb_UITest_get_target,$*)) && \
$(if $(gb_UITest__interactive),, \
rm -fr $@.core && mkdir $@.core && cd $@.core && ) \
rm -fr $@.core && mkdir -p $(dir $(call gb_UITest_get_target,$*))user/ && mkdir $@.core && cd $@.core && ) \
$(if $(gb_UITest_use_config), \
cp $(gb_UITest_use_config) $(dir $(call gb_UITest_get_target,$*))user/. && ) \
($(gb_UITest_PRECOMMAND) \
$(if $(G_SLICE),G_SLICE=$(G_SLICE)) \
$(if $(GLIBCXX_FORCE_NEW),GLIBCXX_FORCE_NEW=$(GLIBCXX_FORCE_NEW)) \
......@@ -100,6 +102,10 @@ $(call gb_UITest_get_target,$(1)) : $(call gb_CustomTarget_get_workdir,$(2))
endef
define gb_UITest_use_configuration
$(call gb_UITest_get_target,$(1)) : gb_UITest_use_config := $(2)
endef
else # DISABLE_PYTHON
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment