Kaydet (Commit) e352abc2 authored tarafından David Tardon's avatar David Tardon

allow to run smoketest in arbitrary installation

Just set OOO_TEST_SOFFICE=path:/path/to/installation/program/soffice .

Change-Id: Ic772a56328253f608a62a21923a74198fa29a136
üst 28a4496c
...@@ -30,16 +30,10 @@ $(eval $(call gb_CppunitTest_use_libraries,smoketest,\ ...@@ -30,16 +30,10 @@ $(eval $(call gb_CppunitTest_use_libraries,smoketest,\
unotest \ unotest \
)) ))
ifeq ($(OS),MACOSX)
smoketest_SOFFICE := path:$(gb_DEVINSTALLROOT)/MacOS/soffice
else
smoketest_SOFFICE := path:$(gb_DEVINSTALLROOT)/program/soffice
endif
$(eval $(call gb_CppunitTest_use_ure,smoketest)) $(eval $(call gb_CppunitTest_use_ure,smoketest))
$(eval $(call gb_CppunitTest_add_arguments,smoketest,\ $(eval $(call gb_CppunitTest_add_arguments,smoketest,\
-env:arg-soffice=$(smoketest_SOFFICE) \ -env:arg-soffice=$(gb_JunitTest_SOFFICEARG) \
-env:arg-user=$(WORKDIR)/CustomTarget/smoketest \ -env:arg-user=$(WORKDIR)/CustomTarget/smoketest \
-env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \ -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
-env:arg-testarg.smoketest.doc=$(WORKDIR)/Zip/smoketestdoc.sxw \ -env:arg-testarg.smoketest.doc=$(WORKDIR)/Zip/smoketestdoc.sxw \
......
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