summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-04-27 17:26:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-05-01 15:43:31 +0200
commit172270a8f04388a8f8062f672f9c3f3144a01a1f (patch)
treed791e213a56098f72af6e2fc343536a923f687b3 /sw
parentcd9602dcc51a7ce54fadf9796642ee9d7fcf3cfe (diff)
abort writer layout tests if a font isn't found
if (the default) of --with-fonts is enabled then additionally restrict fontconfig to those "application" fonts so the linux ci can be used to safeguard that font and glyph fallback isn't in operation during the layout tests Change-Id: Ic7fc705827c8177b8367cf41f55cdd8ae002c1f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133523 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/layoutwriter_setup.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/layoutwriter_setup.mk b/sw/layoutwriter_setup.mk
index cd0d86b7f98c..bf05b937764e 100644
--- a/sw/layoutwriter_setup.mk
+++ b/sw/layoutwriter_setup.mk
@@ -82,6 +82,11 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_layoutwriter$(1), \
$(call gb_CppunitTest_get_target,sw_layoutwriter$(1)): \
$(call gb_Library_get_target,textconv_dict)
+# reset the LD_LIBRARY_PATH for spawned GPG processes
+$(call gb_CppunitTest_get_target,sw_layoutwriter$(1)): \
+ EXTRA_ENV_VARS := \
+ SAL_ABORT_ON_NON_APPLICATION_FONT_USE=1
+
$(eval $(call gb_CppunitTest_use_more_fonts,sw_layoutwriter$(1)))
endef