Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5d5a1348
Kaydet (Commit)
5d5a1348
authored
Mar 15, 2011
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
attempt to make unit test function, before disabling it
üst
42dca4b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
17 deletions
+30
-17
build.lst
starmath/prj/build.lst
+1
-1
makefile.mk
starmath/qa/cppunit/makefile.mk
+29
-16
No files found.
starmath/prj/build.lst
Dosyayı görüntüle @
5d5a1348
...
@@ -7,4 +7,4 @@ sm starmath\sdi nmake - all sm_sdi NULL
...
@@ -7,4 +7,4 @@ sm starmath\sdi nmake - all sm_sdi NULL
sm starmath\source nmake - all sm_sorce sm_sdi sm_inc NULL
sm starmath\source nmake - all sm_sorce sm_sdi sm_inc NULL
sm starmath\util nmake - all sm_util sm_sorce NULL
sm starmath\util nmake - all sm_util sm_sorce NULL
sm starmath\qa\unoapi nmake - all sm_qa_unoapi NULL
sm starmath\qa\unoapi nmake - all sm_qa_unoapi NULL
sm starmath\qa\cppunit nmake - all sm_qa_cppunit sm_util NULL
#
sm starmath\qa\cppunit nmake - all sm_qa_cppunit sm_util NULL
starmath/qa/cppunit/makefile.mk
Dosyayı görüntüle @
5d5a1348
...
@@ -100,22 +100,35 @@ $(MISC)/$(TARGET)/udkapi.rdb .ERRREMOVE : $(SOLARBINDIR)$/udkapi.rdb
...
@@ -100,22 +100,35 @@ $(MISC)/$(TARGET)/udkapi.rdb .ERRREMOVE : $(SOLARBINDIR)$/udkapi.rdb
$(MKDIRHIER) $(@
:
d)
$(MKDIRHIER) $(@
:
d)
$(GNUCOPY)
$?
$@
$(GNUCOPY)
$?
$@
#Make a services.rdb with the services we know we need to get up and running
ure_components
=
\
$(MISC)/$(TARGET)/services.rdb .ERRREMOVE
:
$(MISC)/$(TARGET)/udkapi.rdb makefile.mk
stocservices
$(MKDIRHIER) $(@
:
d)
test_components
=
$(ure_components)
$(REGCOMP)
-register
-br
$(MISC)/$(TARGET)/udkapi.rdb
-r
$@
-wop
\
test_components
+=
\
-c
$(DLLPRE)fwk$(DLLPOSTFIX)$(DLLPOST)
\
component/framework/util/fwk
\
-c
$(DLLPRE)tk$(DLLPOSTFIX)$(DLLPOST)
\
component/toolkit/util/tk
\
-c
$(DLLPRE)sfx$(DLLPOSTFIX)$(DLLPOST)
\
component/sfx2/util/sfx
\
-c
$(DLLPRE)vcl$(DLLPOSTFIX)$(DLLPOST)
\
configmgr
\
-c
$(DLLPRE)mcnttype$(DLLPOST)
\
vcl
\
-c
i18npool.uno$(DLLPOST)
mcnttype
\
i18npool
.IF
"$(OS)"
==
"WNT"
.IF
"$(OS)"
==
"WNT"
$(REGCOMP)
-register
-br
$(MISC)/$(TARGET)/udkapi.rdb
-r
$@
-wop
\
test_components
+=
\
-c
$(DLLPRE)sysdtrans$(DLLPOST)
\
sysdtrans
\
-c
$(DLLPRE)ftransl$(DLLPOST)
ftransl
.ENDIF
.ENDIF
# Make a services.rdb with the services we know we need to get up and running
$(MISC)/services.input
:
makefile.mk
$(MKDIRHIER) $(@
:
d)
echo
\
'<list>$(test_components:^"<filename>":+".component</filename>")</list>'
\
>
$@
$(MISC)/$(TARGET)/services.rdb .ERRREMOVE
:
makefile.mk $(MISC)/services.input
$(MKDIRHIER) $(@
:
d)
$(XSLTPROC)
--nonet
--stringparam
prefix
$(SOLARXMLDIR)/
-o
$@.tmp
\
$(SOLARENV)/bin/packcomponents.xslt
$(MISC)/services.input
cat
$(MISC)/$@.tmp
|
sed
's|/program/|/|g'
>
$@
#Tweak things so that we use the .res files in the solver
#Tweak things so that we use the .res files in the solver
STAR_RESOURCEPATH
:=
$(PWD)
/
$(BIN)$(PATH_SEPERATOR)$(SOLARBINDIR)
STAR_RESOURCEPATH
:=
$(PWD)
/
$(BIN)$(PATH_SEPERATOR)$(SOLARBINDIR)
...
@@ -125,9 +138,9 @@ test .PHONY: $(SHL1TARGETN) $(MISC)/$(TARGET)/services.rdb $(MISC)$/$(TARGET)$/t
...
@@ -125,9 +138,9 @@ test .PHONY: $(SHL1TARGETN) $(MISC)/$(TARGET)/services.rdb $(MISC)$/$(TARGET)$/t
@echo
----------------------------------------------------------
@echo
----------------------------------------------------------
@echo
-
start
unit
test
\
#1 on library $(SHL1TARGETN)
@echo
-
start
unit
test
\
#1 on library $(SHL1TARGETN)
@echo
----------------------------------------------------------
@echo
----------------------------------------------------------
$(CPPUNITTESTER)
$(SHL1TARGETN)
-headless
-invisible
\
STAR_RESOURCEPATH
=
"
$(my_file)$(OUTDIR)
/bin"
$(CPPUNITTESTER)
$(SHL1TARGETN)
-headless
-invisible
\
-env
:
UNO_SERVICES=
$(my_file)$(PWD)/$(MISC)/$(TARGET)/services.rdb
\
-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
:UNO_TYPES
=
"
$(my_file)$(PWD)
/
$(MISC)
/
$(TARGET)
/types.rdb
$(my_file)$(PWD)
/
$(MISC)
/
$(TARGET)
/udkapi.rdb"
\
-env:OOO_BASE_DIR="$(my_file)$(
PWD)/$(MISC)/$(TARGET)
"
\
-env
:OOO_BASE_DIR
=
"
$(my_file)$(
OUTDIR)
/lib
"
\
-env
:BRAND_BASE_DIR
=
"
$(my_file)$(PWD)
/
$(MISC)
/
$(TARGET)
"
\
-env
:BRAND_BASE_DIR
=
"
$(my_file)$(PWD)
/
$(MISC)
/
$(TARGET)
"
\
-env
:UNO_USER_PACKAGES_CACHE
=
"
$(my_file)$(PWD)
/
$(MISC)
/
$(TARGET)
"
-env
:UNO_USER_PACKAGES_CACHE
=
"
$(my_file)$(PWD)
/
$(MISC)
/
$(TARGET)
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment