[Libreoffice-commits] .: starmath/prj starmath/qa
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Mar 21 14:20:53 PDT 2011
starmath/prj/build.lst | 2 +-
starmath/qa/cppunit/makefile.mk | 26 +++++++-------------------
2 files changed, 8 insertions(+), 20 deletions(-)
New commits:
commit e3d7657dea656978b9b8f3e7f87a8388f262e0f5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 21 21:20:44 2011 +0000
this should work in theory to use the new component registration stuff
diff --git a/starmath/prj/build.lst b/starmath/prj/build.lst
index fa97e3c..2246c6b 100644
--- a/starmath/prj/build.lst
+++ b/starmath/prj/build.lst
@@ -1,4 +1,4 @@
-sm starmath : LIBXSLT:libxslt L10N:l10n svx NULL
+sm starmath : LIBXSLT:libxslt L10N:l10n svx ure NULL
sm starmath usr1 - all sm_mkout NULL
sm starmath\inc nmake - all sm_inc NULL
sm starmath\prj get - all sm_prj NULL
diff --git a/starmath/qa/cppunit/makefile.mk b/starmath/qa/cppunit/makefile.mk
index 99a371a..52dd969 100644
--- a/starmath/qa/cppunit/makefile.mk
+++ b/starmath/qa/cppunit/makefile.mk
@@ -92,18 +92,7 @@ my_file = file://
ALLTAR: test
-$(MISC)$/$(TARGET)$/types.rdb .ERRREMOVE : $(SOLARBINDIR)$/types.rdb
- $(MKDIRHIER) $(@:d)
- $(GNUCOPY) $? $@
-
-$(MISC)/$(TARGET)/udkapi.rdb .ERRREMOVE : $(SOLARBINDIR)$/udkapi.rdb
- $(MKDIRHIER) $(@:d)
- $(GNUCOPY) $? $@
-
-ure_components = \
- stocservices
-test_components = $(ure_components)
-test_components += \
+test_components = \
component/framework/util/fwk \
component/toolkit/util/tk \
component/sfx2/util/sfx \
@@ -134,13 +123,12 @@ $(MISC)/$(TARGET)/services.rdb .ERRREMOVE : makefile.mk $(MISC)/services.input
STAR_RESOURCEPATH:=$(PWD)/$(BIN)$(PATH_SEPERATOR)$(SOLARBINDIR)
.EXPORT : STAR_RESOURCEPATH
-test .PHONY: $(SHL1TARGETN) $(MISC)/$(TARGET)/services.rdb $(MISC)$/$(TARGET)$/types.rdb $(MISC)/$(TARGET)/udkapi.rdb
+test .PHONY: $(SHL1TARGETN) $(MISC)/$(TARGET)/services.rdb
@echo ----------------------------------------------------------
@echo - start unit test \#1 on library $(SHL1TARGETN)
@echo ----------------------------------------------------------
- STAR_RESOURCEPATH="$(my_file)$(OUTDIR)/bin" $(CPPUNITTESTER) $(SHL1TARGETN) -headless -invisible \
- -env:UNO_SERVICES="$(my_file)$(PWD)/$(MISC)/$(TARGET)/services.rdb" \
- -env:UNO_TYPES="$(my_file)$(PWD)/$(MISC)/$(TARGET)/types.rdb $(my_file)$(PWD)/$(MISC)/$(TARGET)/udkapi.rdb" \
- -env:OOO_BASE_DIR="$(my_file)$(OUTDIR)/lib" \
- -env:BRAND_BASE_DIR="$(my_file)$(PWD)/$(MISC)/$(TARGET)" \
- -env:UNO_USER_PACKAGES_CACHE="$(my_file)$(PWD)/$(MISC)/$(TARGET)"
+ $(CPPUNITTESTER) $(SHL1TARGETN) -headless -invisible \
+ '-env:UNO_TYPES=$(my_file)$(SOLARBINDIR)/udkapi.rdb $(my_file)$(SOLARBINDIR)$/types.rdb' \
+ '-env:UNO_SERVICES=$(my_file)$(SOLARXMLDIR)/ure/services.rdb $(my_file)$(PWD)/$(MISC)/$(TARGET)/services.rdb'\
+ -env:URE_INTERNAL_LIB_DIR="$(my_file)$(SOLARSHAREDBIN)" \
+ -env:OOO_BASE_DIR="$(my_file)$(SOLARSHAREDBIN)"
More information about the Libreoffice-commits
mailing list