summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_ucalc.mk
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-04-11 12:22:52 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-04-11 12:38:55 +0200
commitedc9a35274f4e1423957284b2d4a415ec97e5c23 (patch)
treea8d7f756b29d3be4b1dc0a0863c4daac5f86869a /sc/CppunitTest_sc_ucalc.mk
parent7d37a449ab634d8885d3d3f42a72d0ee9f4bb0f1 (diff)
reenable ucalc.cxx unittest in gbuild
Diffstat (limited to 'sc/CppunitTest_sc_ucalc.mk')
-rw-r--r--sc/CppunitTest_sc_ucalc.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk
index fac15fc77d10..0c857abfeb32 100644
--- a/sc/CppunitTest_sc_ucalc.mk
+++ b/sc/CppunitTest_sc_ucalc.mk
@@ -29,10 +29,23 @@
$(eval $(call gb_CppunitTest_CppunitTest,sc_ucalc))
+$(eval $(call gb_CppunitTest_add_package_headers,sc_ucalc,sc_qa_unit))
+
$(eval $(call gb_CppunitTest_add_exception_objects,sc_ucalc, \
sc/qa/unit/ucalc \
))
+$(eval $(call gb_CppunitTest_set_args,sc_ucalc,\
+ --headless \
+ --invisible \
+ "-env:UNO_TYPES=$(foreach binrdb,udkapi.rdb types.rdb,\
+ file://$(if $(filter WNT,$(OS)),/)$(OUTDIR)/bin/$(binrdb))" \
+ "-env:UNO_SERVICES=$(foreach rdb,$(OUTDIR)/xml/ure/services.rdb $(WORKDIR)/CustomTarget/sc/qa/unit/services.rdb,\
+ file://$(if $(filter WNT,$(OS)),/)$(rdb))" \
+ $(foreach dir,URE_INTERNAL_LIB_DIR OOO_BASE_DIR BRAND_BASE_DIR, \
+ -env:$(dir)=file://$(if $(filter WNT,$(OS)),/$(OUTDIR)/bin,$(OUTDIR)/lib)) \
+))
+
$(eval $(call gb_CppunitTest_add_library_objects,sc_ucalc,sc))
$(eval $(call gb_CppunitTest_add_linked_libs,sc_ucalc, \