chart2/CppunitTest_chart2_export.mk | 2 -- chart2/CppunitTest_chart2_import.mk | 2 -- chart2/CppunitTest_chart2_xshape.mk | 2 -- cppcanvas/CppunitTest_cppcanvas_emfplus.mk | 2 -- dbaccess/CppunitTest_dbaccess_dialog_save.mk | 2 -- dbaccess/CppunitTest_dbaccess_embeddeddb_performancetest.mk | 2 -- dbaccess/CppunitTest_dbaccess_empty_stdlib_save.mk | 2 -- dbaccess/CppunitTest_dbaccess_firebird_test.mk | 2 -- dbaccess/CppunitTest_dbaccess_hsqldb_test.mk | 2 -- dbaccess/CppunitTest_dbaccess_macros_test.mk | 2 -- dbaccess/CppunitTest_dbaccess_nolib_save.mk | 2 -- postprocess/CppunitTest_services.mk | 2 -- sc/CppunitTest_sc_annotationobj.mk | 2 -- sc/CppunitTest_sc_annotationshapeobj.mk | 2 -- sc/CppunitTest_sc_annotationsobj.mk | 2 -- sc/CppunitTest_sc_cellrangeobj.mk | 2 -- sc/CppunitTest_sc_chart_regression_test.mk | 2 -- sc/CppunitTest_sc_databaserangeobj.mk | 2 -- sc/CppunitTest_sc_datapilotfieldobj.mk | 2 -- sc/CppunitTest_sc_datapilottableobj.mk | 2 -- sc/CppunitTest_sc_editfieldobj_cell.mk | 2 -- sc/CppunitTest_sc_editfieldobj_header.mk | 2 -- sc/CppunitTest_sc_html_export_test.mk | 2 -- sc/CppunitTest_sc_macros_test.mk | 2 -- sc/CppunitTest_sc_modelobj.mk | 2 -- sc/CppunitTest_sc_namedrangeobj.mk | 2 -- sc/CppunitTest_sc_namedrangesobj.mk | 2 -- sc/CppunitTest_sc_outlineobj.mk | 2 -- sc/CppunitTest_sc_perfobj.mk | 2 -- sc/CppunitTest_sc_rangelst_test.mk | 2 -- sc/CppunitTest_sc_styleloaderobj.mk | 2 -- sc/CppunitTest_sc_tablesheetobj.mk | 2 -- sc/CppunitTest_sc_tablesheetsobj.mk | 2 -- sd/CppunitTest_sd_export_tests.mk | 2 -- sd/CppunitTest_sd_html_export_tests.mk | 2 -- sd/CppunitTest_sd_import_tests.mk | 2 -- solenv/gbuild/CppunitTest.mk | 11 +++++++++-- sw/CppunitTest_sw_globalfilter.mk | 2 -- sw/CppunitTest_sw_htmlexport.mk | 2 -- sw/CppunitTest_sw_htmlimport.mk | 2 -- sw/CppunitTest_sw_layout_test.mk | 2 -- sw/CppunitTest_sw_macros_test.mk | 2 -- sw/CppunitTest_sw_odfexport.mk | 2 -- sw/CppunitTest_sw_odfimport.mk | 2 -- sw/CppunitTest_sw_ooxmlfieldexport.mk | 2 -- sw/CppunitTest_sw_ooxmlimport.mk | 2 -- sw/CppunitTest_sw_ooxmlsdrexport.mk | 2 -- sw/CppunitTest_sw_ooxmlw14export.mk | 2 -- sw/CppunitTest_sw_rtfexport.mk | 2 -- sw/CppunitTest_sw_rtfimport.mk | 2 -- sw/CppunitTest_sw_uiwriter.mk | 2 -- sw/CppunitTest_sw_ww8export.mk | 2 -- sw/CppunitTest_sw_ww8import.mk | 2 -- sw/ooxmlexport_setup.mk | 2 -- 54 files changed, 9 insertions(+), 108 deletions(-)
New commits: commit 9c5ea0469ab96bd39cccd3bd60d79846ce065679 Author: Michael Stahl <mst...@redhat.com> Date: Fri Feb 27 19:05:54 2015 +0100 gbuild: CppunitTest: always use unittest configuration The sc_subsequent_filters_test was failing because of a lock file because it did not use the unittest configuration. Refactor gb_CppunitTest_use_configuration so it uses both the instdir and unittest configuration to prevent such errors. In case there ever is a test that does not work with the unittest configuration it should call gb_CppunitTest_use_instdir_configuration. (cherry picked from commit f0a60415597bae7ca54767b397a217882578ce97) Conflicts: dbaccess/CppunitTest_dbaccess_RowSetClones.mk sc/CppunitTest_sc_condformats.mk sc/CppunitTest_sc_recordchanges.mk Change-Id: Ibc00d42f8b6102d50d922f51173120798fa45c6e Reviewed-on: https://gerrit.libreoffice.org/14738 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/chart2/CppunitTest_chart2_export.mk b/chart2/CppunitTest_chart2_export.mk index a1a4bd6..51ce6b6 100644 --- a/chart2/CppunitTest_chart2_export.mk +++ b/chart2/CppunitTest_chart2_export.mk @@ -132,6 +132,4 @@ $(eval $(call gb_CppunitTest_use_components,chart2_export,\ $(eval $(call gb_CppunitTest_use_configuration,chart2_export)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_export)) - # vim: set noet sw=4 ts=4: diff --git a/chart2/CppunitTest_chart2_import.mk b/chart2/CppunitTest_chart2_import.mk index 50d58f2..e101993 100644 --- a/chart2/CppunitTest_chart2_import.mk +++ b/chart2/CppunitTest_chart2_import.mk @@ -130,8 +130,6 @@ $(eval $(call gb_CppunitTest_use_components,chart2_import,\ $(eval $(call gb_CppunitTest_use_configuration,chart2_import)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_import)) - $(call gb_CppunitTest_get_target,chart2_import): \ $(call gb_AllLangResTarget_get_target,sd) diff --git a/chart2/CppunitTest_chart2_xshape.mk b/chart2/CppunitTest_chart2_xshape.mk index 99149a6..bb50d5b5 100644 --- a/chart2/CppunitTest_chart2_xshape.mk +++ b/chart2/CppunitTest_chart2_xshape.mk @@ -127,6 +127,4 @@ $(eval $(call gb_CppunitTest_use_components,chart2_xshape,\ $(eval $(call gb_CppunitTest_use_configuration,chart2_xshape)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_xshape)) - # vim: set noet sw=4 ts=4: diff --git a/cppcanvas/CppunitTest_cppcanvas_emfplus.mk b/cppcanvas/CppunitTest_cppcanvas_emfplus.mk index b479609..d4cc7c1 100644 --- a/cppcanvas/CppunitTest_cppcanvas_emfplus.mk +++ b/cppcanvas/CppunitTest_cppcanvas_emfplus.mk @@ -62,8 +62,6 @@ $(eval $(call gb_CppunitTest_use_components,cppcanvas_emfplus,\ $(eval $(call gb_CppunitTest_use_configuration,cppcanvas_emfplus)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,cppcanvas_emfplus)) - $(call gb_CppunitTest_get_target,cppcanvas_emfplus): \ $(call gb_AllLangResTarget_get_target,ofa) \ $(call gb_AllLangResTarget_get_target,sd) diff --git a/dbaccess/CppunitTest_dbaccess_dialog_save.mk b/dbaccess/CppunitTest_dbaccess_dialog_save.mk index e18a5eb..e4dfbb1 100644 --- a/dbaccess/CppunitTest_dbaccess_dialog_save.mk +++ b/dbaccess/CppunitTest_dbaccess_dialog_save.mk @@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_dialog_save)) $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_dialog_save)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_dialog_save)) - $(call gb_CppunitTest_get_target,dbaccess_dialog_save) : $(WORKDIR)/CppunitTest/testDialogSave.odb $(WORKDIR)/CppunitTest/testDialogSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb mkdir -p $(dir $@) diff --git a/dbaccess/CppunitTest_dbaccess_embeddeddb_performancetest.mk b/dbaccess/CppunitTest_dbaccess_embeddeddb_performancetest.mk index 2fe7e94..20d5754 100644 --- a/dbaccess/CppunitTest_dbaccess_embeddeddb_performancetest.mk +++ b/dbaccess/CppunitTest_dbaccess_embeddeddb_performancetest.mk @@ -76,6 +76,4 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_embeddeddb_performancete $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_embeddeddb_performancetest)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_embeddeddb_performancetest)) - # vim: set noet sw=4 ts=4: diff --git a/dbaccess/CppunitTest_dbaccess_empty_stdlib_save.mk b/dbaccess/CppunitTest_dbaccess_empty_stdlib_save.mk index 408c0bf..7113ce7 100644 --- a/dbaccess/CppunitTest_dbaccess_empty_stdlib_save.mk +++ b/dbaccess/CppunitTest_dbaccess_empty_stdlib_save.mk @@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_empty_stdlib_save)) $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_empty_stdlib_save)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_empty_stdlib_save)) - $(call gb_CppunitTest_get_target,dbaccess_empty_stdlib_save) : $(WORKDIR)/CppunitTest/testEmptyStdlibSave.odb $(WORKDIR)/CppunitTest/testEmptyStdlibSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb mkdir -p $(dir $@) diff --git a/dbaccess/CppunitTest_dbaccess_firebird_test.mk b/dbaccess/CppunitTest_dbaccess_firebird_test.mk index 68351a7..f438dfd 100644 --- a/dbaccess/CppunitTest_dbaccess_firebird_test.mk +++ b/dbaccess/CppunitTest_dbaccess_firebird_test.mk @@ -66,6 +66,4 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_firebird_test,\ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_firebird_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_firebird_test)) - # vim: set noet sw=4 ts=4: diff --git a/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk b/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk index 9cc4718..9e15e94 100644 --- a/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk +++ b/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk @@ -80,8 +80,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_hsqldb_test)) $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_hsqldb_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_hsqldb_test)) - $(call gb_CppunitTest_get_target,dbaccess_hsqldb_test): \ $(call gb_AllLangResTarget_get_target,ofa) diff --git a/dbaccess/CppunitTest_dbaccess_macros_test.mk b/dbaccess/CppunitTest_dbaccess_macros_test.mk index 9b2166f..398dd5b 100644 --- a/dbaccess/CppunitTest_dbaccess_macros_test.mk +++ b/dbaccess/CppunitTest_dbaccess_macros_test.mk @@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_macros_test)) $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_macros_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_macros_test)) - $(call gb_CppunitTest_get_target,dbaccess_macros_test): \ $(call gb_AllLangResTarget_get_target,ofa) diff --git a/dbaccess/CppunitTest_dbaccess_nolib_save.mk b/dbaccess/CppunitTest_dbaccess_nolib_save.mk index 6684d72..7e7c742 100644 --- a/dbaccess/CppunitTest_dbaccess_nolib_save.mk +++ b/dbaccess/CppunitTest_dbaccess_nolib_save.mk @@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_nolib_save)) $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_nolib_save)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_nolib_save)) - $(call gb_CppunitTest_get_target,dbaccess_nolib_save) : $(WORKDIR)/CppunitTest/testNolibSave.odb $(WORKDIR)/CppunitTest/testNolibSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb mkdir -p $(dir $@) diff --git a/postprocess/CppunitTest_services.mk b/postprocess/CppunitTest_services.mk index 00ac87f..58480f4 100644 --- a/postprocess/CppunitTest_services.mk +++ b/postprocess/CppunitTest_services.mk @@ -39,8 +39,6 @@ endif $(eval $(call gb_CppunitTest_use_configuration,services)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,services)) - ifeq ($(ENABLE_JAVA),TRUE) $(eval $(call gb_CppunitTest_use_java_ure,services)) diff --git a/sc/CppunitTest_sc_annotationobj.mk b/sc/CppunitTest_sc_annotationobj.mk index 6b6e3ea..92d0ebf 100644 --- a/sc/CppunitTest_sc_annotationobj.mk +++ b/sc/CppunitTest_sc_annotationobj.mk @@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_annotationobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_annotationshapeobj.mk b/sc/CppunitTest_sc_annotationshapeobj.mk index d986101..1d95bef 100644 --- a/sc/CppunitTest_sc_annotationshapeobj.mk +++ b/sc/CppunitTest_sc_annotationshapeobj.mk @@ -100,6 +100,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationshapeobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_annotationshapeobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationshapeobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_annotationsobj.mk b/sc/CppunitTest_sc_annotationsobj.mk index 78760bf..148cf18 100644 --- a/sc/CppunitTest_sc_annotationsobj.mk +++ b/sc/CppunitTest_sc_annotationsobj.mk @@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationsobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_annotationsobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationsobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_cellrangeobj.mk b/sc/CppunitTest_sc_cellrangeobj.mk index 76c45fe..c590115 100644 --- a/sc/CppunitTest_sc_cellrangeobj.mk +++ b/sc/CppunitTest_sc_cellrangeobj.mk @@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_cellrangeobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_cellrangeobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_cellrangeobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_chart_regression_test.mk b/sc/CppunitTest_sc_chart_regression_test.mk index ce3a33d..003b7c7 100644 --- a/sc/CppunitTest_sc_chart_regression_test.mk +++ b/sc/CppunitTest_sc_chart_regression_test.mk @@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_chart_regression_test,\ $(eval $(call gb_CppunitTest_use_configuration,sc_chart_regression_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_chart_regression_test)) - $(eval $(call gb_CppunitTest_use_external,sc_chart_regression_test,libxml2)) # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_databaserangeobj.mk b/sc/CppunitTest_sc_databaserangeobj.mk index 160d3ef..90e3ece 100644 --- a/sc/CppunitTest_sc_databaserangeobj.mk +++ b/sc/CppunitTest_sc_databaserangeobj.mk @@ -103,6 +103,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_databaserangeobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_databaserangeobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_databaserangeobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_datapilotfieldobj.mk b/sc/CppunitTest_sc_datapilotfieldobj.mk index 23f52ca..3c5cb55 100644 --- a/sc/CppunitTest_sc_datapilotfieldobj.mk +++ b/sc/CppunitTest_sc_datapilotfieldobj.mk @@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilotfieldobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_datapilotfieldobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilotfieldobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_datapilottableobj.mk b/sc/CppunitTest_sc_datapilottableobj.mk index 376732b..8a1f3ae 100644 --- a/sc/CppunitTest_sc_datapilottableobj.mk +++ b/sc/CppunitTest_sc_datapilottableobj.mk @@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilottableobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_datapilottableobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilottableobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_editfieldobj_cell.mk b/sc/CppunitTest_sc_editfieldobj_cell.mk index cce906a..d1e8ce8 100644 --- a/sc/CppunitTest_sc_editfieldobj_cell.mk +++ b/sc/CppunitTest_sc_editfieldobj_cell.mk @@ -102,6 +102,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_cell,\ $(eval $(call gb_CppunitTest_use_configuration,sc_editfieldobj_cell)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_cell)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_editfieldobj_header.mk b/sc/CppunitTest_sc_editfieldobj_header.mk index 20c4b6c..90fb12e 100644 --- a/sc/CppunitTest_sc_editfieldobj_header.mk +++ b/sc/CppunitTest_sc_editfieldobj_header.mk @@ -102,6 +102,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_header,\ $(eval $(call gb_CppunitTest_use_configuration,sc_editfieldobj_header)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_header)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_html_export_test.mk b/sc/CppunitTest_sc_html_export_test.mk index 21aa210..6a69a67 100644 --- a/sc/CppunitTest_sc_html_export_test.mk +++ b/sc/CppunitTest_sc_html_export_test.mk @@ -111,6 +111,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_html_export_test,\ $(eval $(call gb_CppunitTest_use_configuration,sc_html_export_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_html_export_test)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_macros_test.mk b/sc/CppunitTest_sc_macros_test.mk index 4794387..bb33f5c 100644 --- a/sc/CppunitTest_sc_macros_test.mk +++ b/sc/CppunitTest_sc_macros_test.mk @@ -114,6 +114,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_macros_test,\ $(eval $(call gb_CppunitTest_use_configuration,sc_macros_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_macros_test)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_modelobj.mk b/sc/CppunitTest_sc_modelobj.mk index 2d31d91..ece6f5a 100644 --- a/sc/CppunitTest_sc_modelobj.mk +++ b/sc/CppunitTest_sc_modelobj.mk @@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_modelobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_modelobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_modelobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_namedrangeobj.mk b/sc/CppunitTest_sc_namedrangeobj.mk index 40b4e70..ba2f9b5 100644 --- a/sc/CppunitTest_sc_namedrangeobj.mk +++ b/sc/CppunitTest_sc_namedrangeobj.mk @@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangeobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_namedrangeobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangeobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_namedrangesobj.mk b/sc/CppunitTest_sc_namedrangesobj.mk index 0ebc22a..cca0de7 100644 --- a/sc/CppunitTest_sc_namedrangesobj.mk +++ b/sc/CppunitTest_sc_namedrangesobj.mk @@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangesobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_namedrangesobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangesobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_outlineobj.mk b/sc/CppunitTest_sc_outlineobj.mk index 48eed8b..2356032 100644 --- a/sc/CppunitTest_sc_outlineobj.mk +++ b/sc/CppunitTest_sc_outlineobj.mk @@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_outlineobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_outlineobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_outlineobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_perfobj.mk b/sc/CppunitTest_sc_perfobj.mk index decabe0..285991a 100644 --- a/sc/CppunitTest_sc_perfobj.mk +++ b/sc/CppunitTest_sc_perfobj.mk @@ -72,6 +72,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sc_perfobj,services)) $(eval $(call gb_CppunitTest_use_configuration,sc_perfobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_perfobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_rangelst_test.mk b/sc/CppunitTest_sc_rangelst_test.mk index 24e885c..2bf6f0f 100644 --- a/sc/CppunitTest_sc_rangelst_test.mk +++ b/sc/CppunitTest_sc_rangelst_test.mk @@ -122,6 +122,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_rangelst_test,\ $(eval $(call gb_CppunitTest_use_configuration,sc_rangelst_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_rangelst_test)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_styleloaderobj.mk b/sc/CppunitTest_sc_styleloaderobj.mk index 22e6381..3769fe9 100644 --- a/sc/CppunitTest_sc_styleloaderobj.mk +++ b/sc/CppunitTest_sc_styleloaderobj.mk @@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_styleloaderobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_styleloaderobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_styleloaderobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_tablesheetobj.mk b/sc/CppunitTest_sc_tablesheetobj.mk index 4a65b6f..107012d 100644 --- a/sc/CppunitTest_sc_tablesheetobj.mk +++ b/sc/CppunitTest_sc_tablesheetobj.mk @@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_tablesheetobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetobj)) - # vim: set noet sw=4 ts=4: diff --git a/sc/CppunitTest_sc_tablesheetsobj.mk b/sc/CppunitTest_sc_tablesheetsobj.mk index 4ce09f8..a6506e4 100644 --- a/sc/CppunitTest_sc_tablesheetsobj.mk +++ b/sc/CppunitTest_sc_tablesheetsobj.mk @@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetsobj,\ $(eval $(call gb_CppunitTest_use_configuration,sc_tablesheetsobj)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetsobj)) - # vim: set noet sw=4 ts=4: diff --git a/sd/CppunitTest_sd_export_tests.mk b/sd/CppunitTest_sd_export_tests.mk index 1c54b95..e1fdbc4 100644 --- a/sd/CppunitTest_sd_export_tests.mk +++ b/sd/CppunitTest_sd_export_tests.mk @@ -73,8 +73,6 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sd_export_tests,\ $(eval $(call gb_CppunitTest_use_configuration,sd_export_tests)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sd_export_tests)) - $(eval $(call gb_CppunitTest_add_arguments,sd_export_tests,\ "-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" \ )) diff --git a/sd/CppunitTest_sd_html_export_tests.mk b/sd/CppunitTest_sd_html_export_tests.mk index 0feb03b..02908d8 100644 --- a/sd/CppunitTest_sd_html_export_tests.mk +++ b/sd/CppunitTest_sd_html_export_tests.mk @@ -111,8 +111,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_html_export_tests,\ $(eval $(call gb_CppunitTest_use_configuration,sd_html_export_tests)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sd_html_export_tests)) - $(call gb_CppunitTest_get_target,sd_html_export_tests) : $(call gb_AllLangResTarget_get_target,sd) # vim: set noet sw=4 ts=4: diff --git a/sd/CppunitTest_sd_import_tests.mk b/sd/CppunitTest_sd_import_tests.mk index 994c756..c30aef6 100644 --- a/sd/CppunitTest_sd_import_tests.mk +++ b/sd/CppunitTest_sd_import_tests.mk @@ -110,8 +110,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_import_tests,\ $(eval $(call gb_CppunitTest_use_configuration,sd_import_tests)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sd_import_tests)) - $(eval $(call gb_CppunitTest_add_arguments,sd_import_tests,\ "-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" \ )) diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index 4f00f81..00256b4 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -265,8 +265,8 @@ $(call gb_CppunitTest_get_target,$(1)) : CONFIGURATION_LAYERS += $(2):$(call gb_ endef -# Use standard configuration. -define gb_CppunitTest_use_configuration +# Use instdir configuration +define gb_CppunitTest_use_instdir_configuration $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,postprocess_registry) $(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(INSTROOT)/$(LIBO_SHARE_FOLDER)/registry) @@ -279,6 +279,13 @@ $(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(WORKDIR)/unittest/registr endef +# Use standard configuration: instdir config + unittest config (in this order!) +define gb_CppunitTest_use_configuration +$(call gb_CppunitTest_use_instdir_configuration,$(1)) +$(call gb_CppunitTest_use_unittest_configuration,$(1)) + +endef + define gb_CppunitTest_use_executable $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Executable_get_target,$(2)) diff --git a/sw/CppunitTest_sw_globalfilter.mk b/sw/CppunitTest_sw_globalfilter.mk index f02bd41..33947af 100644 --- a/sw/CppunitTest_sw_globalfilter.mk +++ b/sw/CppunitTest_sw_globalfilter.mk @@ -90,6 +90,4 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sw_globalfilter,\ $(eval $(call gb_CppunitTest_use_configuration,sw_globalfilter)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_globalfilter)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_htmlexport.mk b/sw/CppunitTest_sw_htmlexport.mk index 23cdef1..6d8b9fd 100644 --- a/sw/CppunitTest_sw_htmlexport.mk +++ b/sw/CppunitTest_sw_htmlexport.mk @@ -89,6 +89,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_htmlexport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_htmlexport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_htmlexport)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_htmlimport.mk b/sw/CppunitTest_sw_htmlimport.mk index dd7d6e7..410c6ba 100644 --- a/sw/CppunitTest_sw_htmlimport.mk +++ b/sw/CppunitTest_sw_htmlimport.mk @@ -54,6 +54,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_htmlimport,services)) $(eval $(call gb_CppunitTest_use_configuration,sw_htmlimport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_htmlimport)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_layout_test.mk b/sw/CppunitTest_sw_layout_test.mk index dd8af0c..91327db 100644 --- a/sw/CppunitTest_sw_layout_test.mk +++ b/sw/CppunitTest_sw_layout_test.mk @@ -94,6 +94,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_layout_test,\ $(eval $(call gb_CppunitTest_use_configuration,sw_layout_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_layout_test)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_macros_test.mk b/sw/CppunitTest_sw_macros_test.mk index e83100d..c1850b2 100644 --- a/sw/CppunitTest_sw_macros_test.mk +++ b/sw/CppunitTest_sw_macros_test.mk @@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_macros_test,\ $(eval $(call gb_CppunitTest_use_configuration,sw_macros_test)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_macros_test)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_odfexport.mk b/sw/CppunitTest_sw_odfexport.mk index 97398af..7bc7ed8 100644 --- a/sw/CppunitTest_sw_odfexport.mk +++ b/sw/CppunitTest_sw_odfexport.mk @@ -86,6 +86,4 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sw_odfexport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_odfexport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfexport)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_odfimport.mk b/sw/CppunitTest_sw_odfimport.mk index 7122302..eaa3542 100644 --- a/sw/CppunitTest_sw_odfimport.mk +++ b/sw/CppunitTest_sw_odfimport.mk @@ -90,6 +90,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_odfimport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_odfimport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfimport)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_ooxmlfieldexport.mk b/sw/CppunitTest_sw_ooxmlfieldexport.mk index 31a77f9..ae67c20 100644 --- a/sw/CppunitTest_sw_ooxmlfieldexport.mk +++ b/sw/CppunitTest_sw_ooxmlfieldexport.mk @@ -48,8 +48,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlfieldexport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlfieldexport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlfieldexport)) - $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlfieldexport,\ oox_generated \ )) diff --git a/sw/CppunitTest_sw_ooxmlimport.mk b/sw/CppunitTest_sw_ooxmlimport.mk index 5d21e9e..6ee96e3 100644 --- a/sw/CppunitTest_sw_ooxmlimport.mk +++ b/sw/CppunitTest_sw_ooxmlimport.mk @@ -89,6 +89,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlimport)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_ooxmlsdrexport.mk b/sw/CppunitTest_sw_ooxmlsdrexport.mk index a5e25fc..65e6ec3 100644 --- a/sw/CppunitTest_sw_ooxmlsdrexport.mk +++ b/sw/CppunitTest_sw_ooxmlsdrexport.mk @@ -48,8 +48,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlsdrexport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlsdrexport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlsdrexport)) - $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlsdrexport,\ oox_customshapes \ oox_generated \ diff --git a/sw/CppunitTest_sw_ooxmlw14export.mk b/sw/CppunitTest_sw_ooxmlw14export.mk index 10583ec..5958019 100644 --- a/sw/CppunitTest_sw_ooxmlw14export.mk +++ b/sw/CppunitTest_sw_ooxmlw14export.mk @@ -47,6 +47,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlw14export,\ $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlw14export)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlw14export)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_rtfexport.mk b/sw/CppunitTest_sw_rtfexport.mk index 33f366b..88f371b 100644 --- a/sw/CppunitTest_sw_rtfexport.mk +++ b/sw/CppunitTest_sw_rtfexport.mk @@ -81,6 +81,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_rtfexport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_rtfexport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_rtfexport)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_rtfimport.mk b/sw/CppunitTest_sw_rtfimport.mk index 049e1a1..3eafcea 100644 --- a/sw/CppunitTest_sw_rtfimport.mk +++ b/sw/CppunitTest_sw_rtfimport.mk @@ -81,6 +81,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_rtfimport,\ $(eval $(call gb_CppunitTest_use_configuration,sw_rtfimport)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_rtfimport)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_uiwriter.mk b/sw/CppunitTest_sw_uiwriter.mk index 309ae8b..0b6aa73 100644 --- a/sw/CppunitTest_sw_uiwriter.mk +++ b/sw/CppunitTest_sw_uiwriter.mk @@ -58,6 +58,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter,services)) $(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_uiwriter)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_ww8export.mk b/sw/CppunitTest_sw_ww8export.mk index 6a66102..d7ea011 100644 --- a/sw/CppunitTest_sw_ww8export.mk +++ b/sw/CppunitTest_sw_ww8export.mk @@ -81,6 +81,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8export,\ $(eval $(call gb_CppunitTest_use_configuration,sw_ww8export)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8export)) - # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_ww8import.mk b/sw/CppunitTest_sw_ww8import.mk index b916cef..63230e4 100644 --- a/sw/CppunitTest_sw_ww8import.mk +++ b/sw/CppunitTest_sw_ww8import.mk @@ -73,6 +73,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8import,\ $(eval $(call gb_CppunitTest_use_configuration,sw_ww8import)) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8import)) - # vim: set noet sw=4 ts=4: diff --git a/sw/ooxmlexport_setup.mk b/sw/ooxmlexport_setup.mk index 03f6bac..5eeccad 100644 --- a/sw/ooxmlexport_setup.mk +++ b/sw/ooxmlexport_setup.mk @@ -101,8 +101,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport$(1),\ $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport$(1))) -$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlexport$(1))) - $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\ oox_customshapes \ oox_generated \
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits