diff --git a/sw/CppunitTest_sw_globalfilter.mk b/sw/CppunitTest_sw_globalfilter.mk index 819f233fcb00..8e9e0ff7af20 100644 --- a/sw/CppunitTest_sw_globalfilter.mk +++ b/sw/CppunitTest_sw_globalfilter.mk @@ -64,6 +64,10 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sw_globalfilter,\ $(eval $(call gb_CppunitTest_use_configuration,sw_globalfilter)) +ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) +$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_globalfilter,abort)) +endif + $(eval $(call gb_CppunitTest_add_arguments,sw_globalfilter, \ -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \ )) diff --git a/sw/CppunitTest_sw_htmlexport.mk b/sw/CppunitTest_sw_htmlexport.mk index 43a5ca56d041..3d1f9faee978 100644 --- a/sw/CppunitTest_sw_htmlexport.mk +++ b/sw/CppunitTest_sw_htmlexport.mk @@ -77,4 +77,6 @@ $(eval $(call gb_CppunitTest_use_packages,sw_htmlexport,\ )) endif +$(eval $(call gb_CppunitTest_use_more_fonts,sw_htmlexport)) + # vim: set noet sw=4 ts=4: diff --git a/sw/CppunitTest_sw_htmlexport2.mk b/sw/CppunitTest_sw_htmlexport2.mk index 4d2cb5884034..82140129765b 100644 --- a/sw/CppunitTest_sw_htmlexport2.mk +++ b/sw/CppunitTest_sw_htmlexport2.mk @@ -69,6 +69,10 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_htmlexport2,services)) $(eval $(call gb_CppunitTest_use_configuration,sw_htmlexport2)) +ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) +$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_htmlexport2,abort)) +endif + ifeq ($(OS),WNT) # Initializing DocumentSignatureManager will require gpgme-w32spawn.exe in workdir/LinkTarget/Executable # In fact, it is not even required to complete test successfully, but the dialog would stop execution diff --git a/sw/CppunitTest_sw_htmlimport.mk b/sw/CppunitTest_sw_htmlimport.mk index bedc43ea45a2..445a85df08b1 100644 --- a/sw/CppunitTest_sw_htmlimport.mk +++ b/sw/CppunitTest_sw_htmlimport.mk @@ -63,4 +63,6 @@ $(eval $(call gb_CppunitTest_use_rdb,sw_htmlimport,services)) $(eval $(call gb_CppunitTest_use_configuration,sw_htmlimport)) +$(eval $(call gb_CppunitTest_use_more_fonts,sw_htmlimport)) + # vim: set noet sw=4 ts=4: