Kaydet (Commit) c289ee21 authored tarafından Matúš Kukan's avatar Matúš Kukan

sdext: fix unit test for Windows

üst bf5380c2
......@@ -28,7 +28,8 @@
$(eval $(call gb_CppunitTest_CppunitTest,sdext_pdfimport))
$(eval $(call gb_CppunitTest_add_defs,sdext_pdfimport,\
-DPDFIMPORT_EXECUTABLE_LOCATION=\"file://$(dir $(call gb_Executable_get_target,xpdfimport))\" \
-DPDFIMPORT_EXECUTABLE_LOCATION=\"$(call gb_CppunitTarget__make_url,\
$(dir $(call gb_Executable_get_target,xpdfimport)))\" \
))
$(eval $(call gb_CppunitTest_add_api,sdext_pdfimport,\
......
......@@ -58,7 +58,7 @@ endif
gb_CppunitTest__get_linktargetname = CppunitTest/$(call gb_CppunitTest_get_filename,$(1))
# TODO: move this to platform under suitable name
gb_CppunitTarget__make_url = file://$(if $(filter WNT,$(OS_FOR_BUILD)),/)$(1)
gb_CppunitTarget__make_url = file://$(if $(filter WNT,$(OS_FOR_BUILD)),/)$(strip $(1))
gb_CppunitTest__get_uno_type_target = $(OUTDIR)/bin/$(1).rdb
define gb_CppunitTest__make_args
......
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