Kaydet (Commit) f0a60415 authored tarafından Michael Stahl's avatar Michael Stahl

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.

Change-Id: Ibc00d42f8b6102d50d922f51173120798fa45c6e
üst 5f444791
...@@ -132,6 +132,4 @@ $(eval $(call gb_CppunitTest_use_components,chart2_export,\ ...@@ -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_configuration,chart2_export))
$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_export))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -130,8 +130,6 @@ $(eval $(call gb_CppunitTest_use_components,chart2_import,\ ...@@ -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_configuration,chart2_import))
$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_import))
$(call gb_CppunitTest_get_target,chart2_import): \ $(call gb_CppunitTest_get_target,chart2_import): \
$(call gb_AllLangResTarget_get_target,sd) $(call gb_AllLangResTarget_get_target,sd)
......
...@@ -127,6 +127,4 @@ $(eval $(call gb_CppunitTest_use_components,chart2_xshape,\ ...@@ -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_configuration,chart2_xshape))
$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_xshape))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -62,8 +62,6 @@ $(eval $(call gb_CppunitTest_use_components,cppcanvas_emfplus,\ ...@@ -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_configuration,cppcanvas_emfplus))
$(eval $(call gb_CppunitTest_use_unittest_configuration,cppcanvas_emfplus))
$(call gb_CppunitTest_get_target,cppcanvas_emfplus): \ $(call gb_CppunitTest_get_target,cppcanvas_emfplus): \
$(call gb_AllLangResTarget_get_target,ofa) \ $(call gb_AllLangResTarget_get_target,ofa) \
$(call gb_AllLangResTarget_get_target,sd) $(call gb_AllLangResTarget_get_target,sd)
......
...@@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_RowSetClones)) ...@@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_RowSetClones))
$(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_RowSetClones)) $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_RowSetClones))
$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_RowSetClones))
$(call gb_CppunitTest_get_target,dbaccess_RowSetClones) : $(WORKDIR)/CppunitTest/RowSetClones.odb $(call gb_CppunitTest_get_target,dbaccess_RowSetClones) : $(WORKDIR)/CppunitTest/RowSetClones.odb
$(WORKDIR)/CppunitTest/RowSetClones.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/RowSetClones.odb $(WORKDIR)/CppunitTest/RowSetClones.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/RowSetClones.odb
mkdir -p $(dir $@) mkdir -p $(dir $@)
......
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_dialog_save)) ...@@ -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_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 $(call gb_CppunitTest_get_target,dbaccess_dialog_save) : $(WORKDIR)/CppunitTest/testDialogSave.odb
$(WORKDIR)/CppunitTest/testDialogSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb $(WORKDIR)/CppunitTest/testDialogSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb
mkdir -p $(dir $@) mkdir -p $(dir $@)
......
...@@ -76,6 +76,4 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_embeddeddb_performancete ...@@ -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_filter_configuration,dbaccess_embeddeddb_performancetest))
$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_embeddeddb_performancetest))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_empty_stdlib_save)) ...@@ -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_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 $(call gb_CppunitTest_get_target,dbaccess_empty_stdlib_save) : $(WORKDIR)/CppunitTest/testEmptyStdlibSave.odb
$(WORKDIR)/CppunitTest/testEmptyStdlibSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb $(WORKDIR)/CppunitTest/testEmptyStdlibSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb
mkdir -p $(dir $@) mkdir -p $(dir $@)
......
...@@ -66,6 +66,4 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_firebird_test,\ ...@@ -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_configuration,dbaccess_firebird_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_firebird_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -80,8 +80,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_hsqldb_test)) ...@@ -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_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_CppunitTest_get_target,dbaccess_hsqldb_test): \
$(call gb_AllLangResTarget_get_target,ofa) $(call gb_AllLangResTarget_get_target,ofa)
......
...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_macros_test)) ...@@ -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_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_CppunitTest_get_target,dbaccess_macros_test): \
$(call gb_AllLangResTarget_get_target,ofa) $(call gb_AllLangResTarget_get_target,ofa)
......
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_configuration,dbaccess_nolib_save)) ...@@ -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_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 $(call gb_CppunitTest_get_target,dbaccess_nolib_save) : $(WORKDIR)/CppunitTest/testNolibSave.odb
$(WORKDIR)/CppunitTest/testNolibSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb $(WORKDIR)/CppunitTest/testNolibSave.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/testDialogSave.odb
mkdir -p $(dir $@) mkdir -p $(dir $@)
......
...@@ -41,8 +41,6 @@ endif ...@@ -41,8 +41,6 @@ endif
$(eval $(call gb_CppunitTest_use_configuration,services)) $(eval $(call gb_CppunitTest_use_configuration,services))
$(eval $(call gb_CppunitTest_use_unittest_configuration,services))
ifeq ($(ENABLE_JAVA),TRUE) ifeq ($(ENABLE_JAVA),TRUE)
$(eval $(call gb_CppunitTest_use_java_ure,services)) $(eval $(call gb_CppunitTest_use_java_ure,services))
......
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationobj,\ ...@@ -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_configuration,sc_annotationobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -100,6 +100,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationshapeobj,\ ...@@ -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_configuration,sc_annotationshapeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationshapeobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationsobj,\ ...@@ -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_configuration,sc_annotationsobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationsobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_cellrangeobj,\ ...@@ -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_configuration,sc_cellrangeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_cellrangeobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_chart_regression_test,\ ...@@ -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_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)) $(eval $(call gb_CppunitTest_use_external,sc_chart_regression_test,libxml2))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_condformats,\ ...@@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_condformats,\
$(eval $(call gb_CppunitTest_use_configuration,sc_condformats)) $(eval $(call gb_CppunitTest_use_configuration,sc_condformats))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_condformats))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -103,6 +103,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_databaserangeobj,\ ...@@ -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_configuration,sc_databaserangeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_databaserangeobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilotfieldobj,\ ...@@ -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_configuration,sc_datapilotfieldobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilotfieldobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilottableobj,\ ...@@ -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_configuration,sc_datapilottableobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilottableobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -102,6 +102,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_cell,\ ...@@ -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_configuration,sc_editfieldobj_cell))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_cell))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -102,6 +102,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_header,\ ...@@ -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_configuration,sc_editfieldobj_header))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_header))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -111,6 +111,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_html_export_test,\ ...@@ -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_configuration,sc_html_export_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_html_export_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -114,6 +114,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_macros_test,\ ...@@ -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_configuration,sc_macros_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_macros_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_modelobj,\ ...@@ -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_configuration,sc_modelobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_modelobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangeobj,\ ...@@ -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_configuration,sc_namedrangeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangeobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,6 +104,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangesobj,\ ...@@ -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_configuration,sc_namedrangesobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangesobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_outlineobj,\ ...@@ -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_configuration,sc_outlineobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_outlineobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -72,6 +72,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sc_perfobj,services)) ...@@ -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_configuration,sc_perfobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_perfobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -122,6 +122,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_rangelst_test,\ ...@@ -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_configuration,sc_rangelst_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_rangelst_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_recordchanges,\ ...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_recordchanges,\
$(eval $(call gb_CppunitTest_use_configuration,sc_recordchanges)) $(eval $(call gb_CppunitTest_use_configuration,sc_recordchanges))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_recordchanges))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_styleloaderobj,\ ...@@ -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_configuration,sc_styleloaderobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_styleloaderobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetobj,\ ...@@ -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_configuration,sc_tablesheetobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,6 +105,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetsobj,\ ...@@ -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_configuration,sc_tablesheetsobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetsobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -73,8 +73,6 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sd_export_tests,\ ...@@ -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_configuration,sd_export_tests))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sd_export_tests))
$(eval $(call gb_CppunitTest_add_arguments,sd_export_tests,\ $(eval $(call gb_CppunitTest_add_arguments,sd_export_tests,\
"-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" \ "-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" \
)) ))
......
...@@ -111,8 +111,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_html_export_tests,\ ...@@ -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_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) $(call gb_CppunitTest_get_target,sd_html_export_tests) : $(call gb_AllLangResTarget_get_target,sd)
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_import_tests,\ ...@@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_import_tests,\
$(eval $(call gb_CppunitTest_use_configuration,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,\ $(eval $(call gb_CppunitTest_add_arguments,sd_import_tests,\
"-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" \ "-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" \
)) ))
......
...@@ -273,8 +273,8 @@ $(call gb_CppunitTest_get_target,$(1)) : CONFIGURATION_LAYERS += $(2):$(call gb_ ...@@ -273,8 +273,8 @@ $(call gb_CppunitTest_get_target,$(1)) : CONFIGURATION_LAYERS += $(2):$(call gb_
endef endef
# Use standard configuration. # Use instdir configuration
define gb_CppunitTest_use_configuration define gb_CppunitTest_use_instdir_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,postprocess_registry) $(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) $(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(INSTROOT)/$(LIBO_SHARE_FOLDER)/registry)
...@@ -287,6 +287,13 @@ $(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(WORKDIR)/unittest/registr ...@@ -287,6 +287,13 @@ $(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(WORKDIR)/unittest/registr
endef 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 define gb_CppunitTest_use_executable
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Executable_get_target,$(2)) $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Executable_get_target,$(2))
......
...@@ -91,6 +91,4 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sw_globalfilter,\ ...@@ -91,6 +91,4 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sw_globalfilter,\
$(eval $(call gb_CppunitTest_use_configuration,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: # vim: set noet sw=4 ts=4:
...@@ -89,6 +89,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_htmlexport,\ ...@@ -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_configuration,sw_htmlexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_htmlexport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -54,6 +54,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_htmlimport,services)) ...@@ -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_configuration,sw_htmlimport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_htmlimport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -94,6 +94,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_layout_test,\ ...@@ -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_configuration,sw_layout_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_layout_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -107,6 +107,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_macros_test,\ ...@@ -107,6 +107,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_macros_test,\
$(eval $(call gb_CppunitTest_use_configuration,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: # vim: set noet sw=4 ts=4:
...@@ -86,6 +86,4 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sw_odfexport,\ ...@@ -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_configuration,sw_odfexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfexport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -90,6 +90,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_odfimport,\ ...@@ -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_configuration,sw_odfimport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfimport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -48,8 +48,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlfieldexport,\ ...@@ -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_configuration,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_packages,sw_ooxmlfieldexport,\ $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlfieldexport,\
oox_generated \ oox_generated \
)) ))
......
...@@ -89,6 +89,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\ ...@@ -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_configuration,sw_ooxmlimport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlimport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -48,8 +48,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlsdrexport,\ ...@@ -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_configuration,sw_ooxmlsdrexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlsdrexport))
$(eval $(call gb_CppunitTest_use_packages,sw_ooxmlsdrexport,\ $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlsdrexport,\
oox_customshapes \ oox_customshapes \
oox_generated \ oox_generated \
......
...@@ -47,6 +47,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlw14export,\ ...@@ -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_configuration,sw_ooxmlw14export))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlw14export))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -52,6 +52,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_rtfexport,services)) ...@@ -52,6 +52,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_rtfexport,services))
$(eval $(call gb_CppunitTest_use_configuration,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: # vim: set noet sw=4 ts=4:
...@@ -81,6 +81,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_rtfimport,\ ...@@ -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_configuration,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_rtfimport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -59,6 +59,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter,services)) ...@@ -59,6 +59,4 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter)) $(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_uiwriter))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -81,6 +81,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8export,\ ...@@ -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_configuration,sw_ww8export))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8export))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -73,6 +73,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8import,\ ...@@ -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_configuration,sw_ww8import))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8import))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -101,8 +101,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport$(1),\ ...@@ -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_configuration,sw_ooxmlexport$(1)))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlexport$(1)))
$(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\ $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\
oox_customshapes \ oox_customshapes \
oox_generated \ oox_generated \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment