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
e3cf2b45
Kaydet (Commit)
e3cf2b45
authored
Nis 08, 2012
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
simplify use of configuration from unit tests
üst
e5f16b8d
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
162 additions
and
99 deletions
+162
-99
CppunitTest_dbaccess_macros_test.mk
dbaccess/CppunitTest_dbaccess_macros_test.mk
+6
-3
CppunitTest_extensions_test_update.mk
extensions/CppunitTest_extensions_test_update.mk
+1
-3
CppunitTest_filter_tga_test.mk
filter/CppunitTest_filter_tga_test.mk
+1
-3
CppunitTest_filter_tiff_test.mk
filter/CppunitTest_filter_tiff_test.mk
+1
-3
CppunitTest_hwpfilter_test_hwpfilter.mk
hwpfilter/CppunitTest_hwpfilter_test_hwpfilter.mk
+1
-3
CppunitTest_lotuswordpro_test_lotuswordpro.mk
lotuswordpro/CppunitTest_lotuswordpro_test_lotuswordpro.mk
+1
-3
CppunitTest_sc_cellrangeobj.mk
sc/CppunitTest_sc_cellrangeobj.mk
+6
-3
CppunitTest_sc_chart_regression_test.mk
sc/CppunitTest_sc_chart_regression_test.mk
+6
-3
CppunitTest_sc_databaserangeobj.mk
sc/CppunitTest_sc_databaserangeobj.mk
+6
-3
CppunitTest_sc_datapilotfieldobj.mk
sc/CppunitTest_sc_datapilotfieldobj.mk
+6
-3
CppunitTest_sc_datapilottableobj.mk
sc/CppunitTest_sc_datapilottableobj.mk
+6
-3
CppunitTest_sc_filters_test.mk
sc/CppunitTest_sc_filters_test.mk
+3
-4
CppunitTest_sc_macros_test.mk
sc/CppunitTest_sc_macros_test.mk
+6
-3
CppunitTest_sc_namedrangeobj.mk
sc/CppunitTest_sc_namedrangeobj.mk
+6
-3
CppunitTest_sc_namedrangesobj.mk
sc/CppunitTest_sc_namedrangesobj.mk
+6
-3
CppunitTest_sc_subsequent_filters_test.mk
sc/CppunitTest_sc_subsequent_filters_test.mk
+3
-4
CppunitTest_sc_tableautoformatfield.mk
sc/CppunitTest_sc_tableautoformatfield.mk
+6
-3
CppunitTest_sc_tablesheetobj.mk
sc/CppunitTest_sc_tablesheetobj.mk
+6
-3
CppunitTest_sc_tablesheetsobj.mk
sc/CppunitTest_sc_tablesheetsobj.mk
+6
-3
CppunitTest_sc_ucalc.mk
sc/CppunitTest_sc_ucalc.mk
+1
-3
CppunitTest_sd_filters_test.mk
sd/CppunitTest_sd_filters_test.mk
+3
-4
CppunitTest_sd_regression_test.mk
sd/CppunitTest_sd_regression_test.mk
+8
-2
CppunitTest_sd_uimpress.mk
sd/CppunitTest_sd_uimpress.mk
+1
-3
CppunitTest_pdfimport.mk
sdext/CppunitTest_pdfimport.mk
+1
-3
CppunitTest.mk
solenv/gbuild/CppunitTest.mk
+31
-0
CppunitTest_svtools_filters_test.mk
svtools/CppunitTest_svtools_filters_test.mk
+1
-3
CppunitTest_sw_filters_test.mk
sw/CppunitTest_sw_filters_test.mk
+1
-3
CppunitTest_sw_layout_test.mk
sw/CppunitTest_sw_layout_test.mk
+6
-3
CppunitTest_sw_macros_test.mk
sw/CppunitTest_sw_macros_test.mk
+6
-3
CppunitTest_sw_regression_test.mk
sw/CppunitTest_sw_regression_test.mk
+6
-3
CppunitTest_sw_subsequent_ooxmltok.mk
sw/CppunitTest_sw_subsequent_ooxmltok.mk
+6
-2
CppunitTest_sw_subsequent_rtftok.mk
sw/CppunitTest_sw_subsequent_rtftok.mk
+6
-2
CppunitTest_sw_swdoc_test.mk
sw/CppunitTest_sw_swdoc_test.mk
+1
-3
CppunitTest_writerfilter_rtftok.mk
writerfilter/CppunitTest_writerfilter_rtftok.mk
+1
-3
No files found.
dbaccess/CppunitTest_dbaccess_macros_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_macros_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,dbaccess_macros_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,dbaccess_macros_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_macros_test))
$(eval $(call gb_CppunitTest_use_extra_configuration,dbaccess_macros_test,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
extensions/CppunitTest_extensions_test_update.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -69,8 +69,6 @@ $(eval $(call gb_CppunitTest_use_components,extensions_test_update,\
unoxml/source/service/unoxml
\
))
$(eval
$(call
gb_CppunitTest_set_args,extensions_test_update,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)"
\
))
$(eval
$(call
gb_CppunitTest_use_configuration,extensions_test_update))
# vim:set shiftwidth=4 softtabstop=4 noexpandtab:
filter/CppunitTest_filter_tga_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -54,8 +54,6 @@ $(eval $(call gb_CppunitTest_use_components,filter_tga_test,\
configmgr/source/configmgr \
))
$(eval $(call gb_CppunitTest_set_args,filter_tga_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,filter_tga_test))
# vim: set noet sw=4 ts=4:
filter/CppunitTest_filter_tiff_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -54,8 +54,6 @@ $(eval $(call gb_CppunitTest_use_components,filter_tiff_test,\
configmgr/source/configmgr \
))
$(eval $(call gb_CppunitTest_set_args,filter_tiff_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,filter_tiff_test))
# vim: set noet sw=4 ts=4:
hwpfilter/CppunitTest_hwpfilter_test_hwpfilter.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -61,9 +61,7 @@ $(eval $(call gb_CppunitTest_use_components,hwpfilter_test_hwpfilter,\
ucb/source/ucp/file/ucpfile1 \
))
$(eval $(call gb_CppunitTest_set_args,hwpfilter_test_hwpfilter,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,hwpfilter_test_hwpfilter))
# we need to explicitly depend on library hwp because it is not implied
# by a link relation
...
...
lotuswordpro/CppunitTest_lotuswordpro_test_lotuswordpro.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -61,9 +61,7 @@ $(eval $(call gb_CppunitTest_use_components,lotuswordpro_test_lotuswordpro,\
ucb/source/ucp/file/ucpfile1 \
))
$(eval $(call gb_CppunitTest_set_args,lotuswordpro_test_lotuswordpro,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,lotuswordpro_test_lotuswordpro))
# we need to explicitly depend on library lwpft because it is not implied
# by a link relation
...
...
sc/CppunitTest_sc_cellrangeobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -118,10 +118,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_cellrangesbase,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_cellrangesbase,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_cellrangesbase))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_cellrangesbase))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_cellrangesbase,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_chart_regression_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -124,10 +124,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_chart_regression_test,\
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_set_args,sc_chart_regression_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_chart_regression_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_chart_regression_test))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_chart_regression_test,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_databaserangeobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_databaserangeobj,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_databaserangeobj,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_databaserangeobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_databaserangeobj))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_databaserangeobj,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_datapilotfieldobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilotfieldobj,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_datapilotfieldobj,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_datapilotfieldobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_datapilotfieldobj))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_datapilotfieldobj,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_datapilottableobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilottableobj,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_datapilottableobj,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_datapilottableobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_datapilottableobj))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_datapilottableobj,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_filters_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,9 @@ $(eval $(call gb_CppunitTest_use_components,sc_filters_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_filters_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool)" \
))
# .../spool is required for the (somewhat strange) filter configuration
$(eval $(call gb_CppunitTest_use_configuration,sc_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_filters_test))
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_macros_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -113,10 +113,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_macros_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_macros_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_macros_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_macros_test))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_macros_test,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_namedrangeobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangeobj,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_namedrangeobj,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_namedrangeobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_namedrangeobj))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_namedrangeobj,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_namedrangesobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangesobj,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_namedrangesobj,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_namedrangesobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_namedrangesobj))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_namedrangesobj,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_subsequent_filters_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -129,10 +129,9 @@ $(eval $(call gb_CppunitTest_use_components,sc_subsequent_filters_test,\
endif
endif
$(eval $(call gb_CppunitTest_set_args,sc_subsequent_filters_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool)" \
))
# .../spool is required for the (somewhat strange) filter configuration
$(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_subsequent_filters_test))
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_tableautoformatfield.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_tableautoformatfield,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_tableautoformatfield,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_tableautoformatfield))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_tableautoformatfield))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_tableautoformatfield,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_tablesheetobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -118,10 +118,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_spreadsheetobj,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_spreadsheetobj,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_spreadsheetobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_spreadsheetobj))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_spreadsheetobj,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_tablesheetsobj.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,10 +116,13 @@ $(eval $(call gb_CppunitTest_use_components,sc_spreadsheetsobj,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_spreadsheetsobj,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sc_spreadsheetsobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_spreadsheetsobj))
$(eval $(call gb_CppunitTest_use_extra_configuration,sc_spreadsheetsobj,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sc/CppunitTest_sc_ucalc.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -97,8 +97,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_ucalc,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sc_ucalc,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,sc_ucalc))
# vim: set noet sw=4 ts=4:
sd/CppunitTest_sd_filters_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -106,10 +106,9 @@ $(eval $(call gb_CppunitTest_use_components,sd_filters_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sd_filters_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool)" \
))
# .../spool is required for the (somewhat strange) filter configuration
$(eval $(call gb_CppunitTest_use_configuration,sd_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sd_filters_test))
# we need to explicitly depend on library sdfilt because it is not implied
# by a link relation
...
...
sd/CppunitTest_sd_regression_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -116,11 +116,17 @@ $(eval $(call gb_CppunitTest_use_components,sd_regression_test,\
xmlsecurity/util/xmlsecurity \
))
$(eval $(call gb_CppunitTest_use_configuration,sd_regression_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sd_regression_test))
$(eval $(call gb_CppunitTest_use_extra_configuration,sd_regression_test,\
$(OUTDIR)/unittest/registry \
))
$(eval $(call gb_CppunitTest_set_args,sd_regression_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
"-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to explicitly depend on library sdfilt because it is not implied
# by a link relation
...
...
sd/CppunitTest_sd_uimpress.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_uimpress,\
i18npool/util/i18npool \
))
$(eval $(call gb_CppunitTest_set_args,sd_uimpress,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,sd_uimpress))
# vim: set noet sw=4 ts=4:
sdext/CppunitTest_pdfimport.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -73,8 +73,6 @@ $(eval $(call gb_CppunitTest_use_components,sdext_pdfimport,\
ucb/source/ucp/file/ucpfile1 \
))
$(eval $(call gb_CppunitTest_set_args,sdext_pdfimport,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,sdext_pdfimport))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
solenv/gbuild/CppunitTest.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -63,6 +63,8 @@ gb_CppunitTarget__make_url = file://$(if $(filter WNT,$(OS_FOR_BUILD)),/)$(strip
define gb_CppunitTest__make_args
$(ARGS) \
--headless \
$(if $(strip $(CONFIGURATION_LAYERS)),\
"-env:CONFIGURATION_LAYERS=$(strip $(CONFIGURATION_LAYERS))") \
$(if $(strip $(UNO_TYPES)),\
"-env:UNO_TYPES=$(foreach item,$(UNO_TYPES),$(call gb_CppunitTarget__make_url,$(item)))") \
$(if $(strip $(UNO_SERVICES)),\
...
...
@@ -117,6 +119,7 @@ $(call gb_CppunitTest_get_target,$(1)) : $(call gb_LinkTarget_get_target,$(2))
$(call gb_CppunitTest_get_clean_target,$(1)) : $(call gb_LinkTarget_get_clean_target,$(2))
$(call gb_CppunitTest_CppunitTest_platform,$(1),$(2),$(gb_CppunitTest_DLLDIR)/$(call gb_CppunitTest_get_libfilename,$(1)))
$(call gb_CppunitTest_get_target,$(1)) : ARGS :=
$(call gb_CppunitTest_get_target,$(1)) : CONFIGURATION_LAYERS :=
$(call gb_CppunitTest_get_target,$(1)) : URE := $(false)
$(call gb_CppunitTest_get_target,$(1)) : UNO_SERVICES :=
$(call gb_CppunitTest_get_target,$(1)) : UNO_TYPES :=
...
...
@@ -266,6 +269,34 @@ endef
gb_ComponentTarget__get_old_component_target = $(OUTDIR)/xml/$(1).component
define gb_CppunitTest__use_configuration
$(call gb_CppunitTest_get_target,$(1)) : CONFIGURATION_LAYERS += $(2):$(call gb_CppunitTarget__make_url,$(3))
endef
# Use standard configuration.
define gb_CppunitTest_use_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Configuration_get_target,officecfg)
$(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(gb_Configuration_registry))
endef
# Use configuration for filters.
#
# Okay, this is not exactly true, because there may be configuration
# for more things than just filters in spool, but it is good enough.
define gb_CppunitTest_use_filter_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Configuration_get_target,fcfg_langpack)
$(call gb_CppunitTest__use_configuration,$(1),module,$(gb_Configuration_registry)/spool)
endef
# Use extra configuration dir(s).
define gb_CppunitTest_use_extra_configuration
$(foreach extra,$(2),$(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(extra)))
endef
define gb_CppunitTest__forward_to_Linktarget
gb_CppunitTest_$(1) = $$(call gb_LinkTarget_$(1),$$(call gb_CppunitTest__get_linktargetname,$$(1)),$$(2),$$(3))
...
...
svtools/CppunitTest_svtools_filters_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -57,8 +57,6 @@ $(eval $(call gb_CppunitTest_use_components,svtools_filters_test,\
configmgr/source/configmgr \
))
$(eval $(call gb_CppunitTest_set_args,svtools_filters_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,svtools_filters_test))
# vim: set noet sw=4 ts=4:
sw/CppunitTest_sw_filters_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -90,9 +90,7 @@ $(eval $(call gb_CppunitTest_use_components,sw_filters_test,\
xmlhelp/util/ucpchelp1 \
))
$(eval $(call gb_CppunitTest_set_args,sw_filters_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,sw_filters_test))
# we need to explicitly depend on library msword because it is not implied
# by a link relation
...
...
sw/CppunitTest_sw_layout_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -113,10 +113,13 @@ $(eval $(call gb_CppunitTest_use_components,sw_layout_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sw_layout_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sw_layout_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_layout_test))
$(eval $(call gb_CppunitTest_use_extra_configuration,sw_layout_test,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sw/CppunitTest_sw_macros_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -115,10 +115,13 @@ $(eval $(call gb_CppunitTest_use_components,sw_macros_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sw_macros_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sw_macros_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_macros_test))
$(eval $(call gb_CppunitTest_use_extra_configuration,sw_macros_test,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sw/CppunitTest_sw_regression_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -115,10 +115,13 @@ $(eval $(call gb_CppunitTest_use_components,sw_regression_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sw_regression_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sw_regression_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_regression_test))
$(eval $(call gb_CppunitTest_use_extra_configuration,sw_regression_test,\
$(OUTDIR)/unittest/registry \
))
# .../spool is required for the (somewhat strange) filter configuration
# we need to
# a) explicitly depend on library msword because it is not implied by a link
...
...
sw/CppunitTest_sw_subsequent_ooxmltok.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -74,8 +74,12 @@ $(eval $(call gb_CppunitTest_use_components,sw_subsequent_ooxmltok,\
writerfilter/util/writerfilter \
))
$(eval $(call gb_CppunitTest_set_args,sw_subsequent_ooxmltok,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sw_subsequent_ooxmltok))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_subsequent_ooxmltok))
$(eval $(call gb_CppunitTest_use_extra_configuration,sw_subsequent_ooxmltok,\
$(OUTDIR)/unittest/registry \
))
# vim: set noet sw=4 ts=4:
sw/CppunitTest_sw_subsequent_rtftok.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -68,8 +68,12 @@ $(eval $(call gb_CppunitTest_use_components,sw_subsequent_rtftok,\
writerfilter/util/writerfilter \
))
$(eval $(call gb_CppunitTest_set_args,sw_subsequent_rtftok,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
$(eval $(call gb_CppunitTest_use_configuration,sw_subsequent_rtftok))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_subsequent_rtftok))
$(eval $(call gb_CppunitTest_use_extra_configuration,sw_subsequent_rtftok,\
$(OUTDIR)/unittest/registry \
))
# vim: set noet sw=4 ts=4:
sw/CppunitTest_sw_swdoc_test.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -97,9 +97,7 @@ $(eval $(call gb_CppunitTest_use_components,sw_swdoc_test,\
unoxml/source/service/unoxml \
))
$(eval $(call gb_CppunitTest_set_args,sw_swdoc_test,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,sw_swdoc_test))
# we need to explicitly depend on the sw resource files needed at unit-test
# runtime
...
...
writerfilter/CppunitTest_writerfilter_rtftok.mk
Dosyayı görüntüle @
e3cf2b45
...
...
@@ -59,9 +59,7 @@ $(eval $(call gb_CppunitTest_use_components,writerfilter_rtftok,\
writerfilter/util/writerfilter \
))
$(eval $(call gb_CppunitTest_set_args,writerfilter_rtftok,\
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry)" \
))
$(eval $(call gb_CppunitTest_use_configuration,writerfilter_rtftok))
# we need to explicitly depend on library rtftok and writerfilter because it is not implied
# by a link relation
...
...
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