summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-09-01 09:25:52 +0200
committerCaolán McNamara <caolanm@redhat.com>2022-09-01 11:52:36 +0200
commita342b72f4218cd617aa6fb413fcf5fbb182c316f (patch)
tree0fb36acb61a7ce0c998feaab142e96ca0deb1782 /solenv
parent80aab73bc299caa62e4eb105b3fec7149d804c73 (diff)
gbuild: set SAL_NON_APPLICATION_FONT_USE in gb_CppunitTest_use_more_fonts
So it applies to all tests using HAVE_MORE_FONTS. Change-Id: I60567c996286aa8a76c7180c58aea7f214a99d87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139144 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/CppunitTest.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
index 821d1d6f2c74..fbfc3f30aacb 100644
--- a/solenv/gbuild/CppunitTest.mk
+++ b/solenv/gbuild/CppunitTest.mk
@@ -387,6 +387,7 @@ define gb_CppunitTest_use_more_fonts
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
$(call gb_CppunitTest_get_target,$(1)) : \
$(foreach font,$(gb_Package_MODULE_ooo_fonts),$(call gb_Package_get_target,$(font)))
+$(call gb_CppunitTest_get_target,$(1)) : EXTRA_ENV_VARS := SAL_NON_APPLICATION_FONT_USE=deny
endif
endef