Kaydet (Commit) 13940a8e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use a proper folder as "user installation" when sandboxed

A sandboxed soffice process (runnin smoketest) has no access to workdir.

Change-Id: I62ef94282df37ea710735f1305c1d95dd2b0a304
üst 9a031cf7
......@@ -32,9 +32,15 @@ $(eval $(call gb_CppunitTest_use_libraries,smoketest,\
$(eval $(call gb_CppunitTest_use_ure,smoketest))
ifeq ($(ENABLE_MACOSX_SANDBOX),YES)
userinstallation=$(shell $(gb_DEVINSTALLROOT)/MacOS/soffice --nstemporarydirectory)
else
userinstallation=$(WORKDIR)/CustomTarget/smoketest
endif
$(eval $(call gb_CppunitTest_add_arguments,smoketest,\
-env:arg-soffice=$(gb_JunitTest_SOFFICEARG) \
-env:arg-user=$(WORKDIR)/CustomTarget/smoketest \
-env:arg-user=$(userinstallation) \
-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 \
))
......
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