summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_core_layout.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-04-29 10:40:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-05-01 15:43:54 +0200
commitbd1f61dff608fedf83ef559cd310d546d057d9d7 (patch)
tree3b5f9dd5ec1f3f0d960a0abe960945ab950934c9 /sw/CppunitTest_sw_core_layout.mk
parent172270a8f04388a8f8062f672f9c3f3144a01a1f (diff)
abort more writer layout tests if a font isn't found
Change-Id: I4d94b60531505f2d5a493b4c51f4c9110d3a4517 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133633 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/CppunitTest_sw_core_layout.mk')
-rw-r--r--sw/CppunitTest_sw_core_layout.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_core_layout.mk b/sw/CppunitTest_sw_core_layout.mk
index 2cae001add53..80dc1530fdb3 100644
--- a/sw/CppunitTest_sw_core_layout.mk
+++ b/sw/CppunitTest_sw_core_layout.mk
@@ -71,6 +71,11 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_core_layout, \
svx \
))
+# assert if font/glyph fallback occurs
+$(call gb_CppunitTest_get_target,sw_core_layout): \
+ EXTRA_ENV_VARS := \
+ SAL_ABORT_ON_NON_APPLICATION_FONT_USE=1
+
$(eval $(call gb_CppunitTest_use_more_fonts,sw_core_layout))
# vim: set noet sw=4 ts=4: