diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-02-19 19:51:00 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-02-19 20:00:32 +0100 |
commit | e1538ed0b0dd623a6bd3971e5f3c8cecc11c8d60 (patch) | |
tree | 5ae455f8138d361911e914d9115535bac4260255 /solenv | |
parent | ae17a85c2baf9f2ad97270e97bc372e61c7e3678 (diff) |
uitest: allow tests in each module
Change-Id: I95be6c97e7c01159f274397b636ef0599d872c0f
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/UITest.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/solenv/gbuild/UITest.mk b/solenv/gbuild/UITest.mk index 09cd53f83951..2182682695e3 100644 --- a/solenv/gbuild/UITest.mk +++ b/solenv/gbuild/UITest.mk @@ -52,14 +52,14 @@ $(call gb_UITest_get_target,%) :| $(gb_UITest_DEPS) URE_BOOTSTRAP=vnd.sun.star.pathname:$(call gb_Helper_get_rcfile,$(INSTROOT)/$(LIBO_ETC_FOLDER)/fundamental) \ PYTHONPATH="$(PYPATH)" \ TestUserDir="$(call gb_Helper_make_url,$(dir $(call gb_UITest_get_target,$*)))" \ - PYTHONDONTWRITEBYTECODE=1 \ + PYTHONDONTWRITEBYTECODE=0 \ $(if $(filter-out MACOSX WNT,$(OS_FOR_BUILD)),$(if $(ENABLE_HEADLESS),, \ SAL_USE_VCLPLUGIN=svp \ )) \ $(gb_UITest_COMMAND) \ --soffice=path:$(INSTROOT)/$(LIBO_BIN_FOLDER)/soffice \ --userdir=$(call gb_Helper_make_url,$(dir $(call gb_UITest_get_target,$*))user) \ - --dir=$(SRCDIR)/uitest/$(strip $(MODULES)) \ + --dir=$(strip $(MODULES)) \ $(gb_UITest_GDBTRACE) \ $(if $(gb_UITest__interactive),, \ > $@.log 2>&1 \ @@ -70,7 +70,7 @@ $(call gb_UITest_get_target,%) :| $(gb_UITest_DEPS) # always use udkapi and URE services define gb_UITest_UITest -$(call gb_UITest_get_target,$(1)) : PYPATH := $(SRCDIR)/unotest/source/python$$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_LIB_PYUNO_FOLDER)$(if $(filter-out $(LIBO_LIB_PYUNO_FOLDER),$(LIBO_LIB_FOLDER)),$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_LIB_FOLDER)) +$(call gb_UITest_get_target,$(1)) : PYPATH := $(SRCDIR)/uitest$$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_LIB_PYUNO_FOLDER)$(if $(filter-out $(LIBO_LIB_PYUNO_FOLDER),$(LIBO_LIB_FOLDER)),$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_LIB_FOLDER)) $(call gb_UITest_get_target,$(1)) : MODULES := $(eval $(call gb_Module_register_target,$(call gb_UITest_get_target,$(1)),$(call gb_UITest_get_clean_target,$(1)))) @@ -90,8 +90,8 @@ endef # # gb_UITest_add_modules directory module(s) define gb_UITest_add_modules -$(call gb_UITest_get_target,$(1)) : PYPATH := $$(PYPATH)$$(gb_CLASSPATHSEP)$(2) -$(call gb_UITest_get_target,$(1)) : MODULES += $(3) +$(call gb_UITest_get_target,$(1)) : PYPATH := $$(PYPATH)$$(gb_CLASSPATHSEP)$(strip $(2))/$(strip $(3)) +$(call gb_UITest_get_target,$(1)) : MODULES += $(strip $(2))/$(strip $(3)) endef |