core.git: sw/CppunitTest_sw_pdf_test.mk

2024-02-23 Thread Dr. David Alan Gilbert (via logerrit)
 sw/CppunitTest_sw_pdf_test.mk |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 56f45bf76f6cd6683e81b9d30131a7a4c5696340
Author: Dr. David Alan Gilbert 
AuthorDate: Thu Feb 22 11:36:14 2024 +
Commit: Mike Kaganski 
CommitDate: Fri Feb 23 17:02:25 2024 +0100

CppunitTest_sw_pdf_test: Add dependency on xpdfimport

The missing dependency would trigger the failure in:

::HybridPdfTest::testNoHybridDataInPDF
   warn:sal.osl:3173303:3173368:sal/osl/unx/process.cxx:349: Failed to 
launch child process, child reports ENOENT
  ? Couldn't exec xpdfimport?

Change-Id: I5e887129d2119c71b993d9a3e26b9b17bb912452
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163771
Tested-by: Jenkins
Reviewed-by: Mike Kaganski 

diff --git a/sw/CppunitTest_sw_pdf_test.mk b/sw/CppunitTest_sw_pdf_test.mk
index 0d9fd16985e7..6e4126fd3b06 100644
--- a/sw/CppunitTest_sw_pdf_test.mk
+++ b/sw/CppunitTest_sw_pdf_test.mk
@@ -43,6 +43,8 @@ $(eval $(call gb_CppunitTest_use_externals,sw_pdf_test,\
 libxml2 \
 ))
 
+$(eval $(call gb_CppunitTest_use_executable,sw_pdf_test,xpdfimport))
+
 $(eval $(call gb_CppunitTest_set_include,sw_pdf_test,\
 -I$(SRCDIR)/sw/inc \
 -I$(SRCDIR)/sw/source/core/inc \


core.git: sw/CppunitTest_sw_pdf_test.mk sw/CppunitTest_sw_txtencexport.mk sw/CppunitTest_sw_uibase_unit.mk sw/CppunitTest_sw_uibase_uno.mk

2024-01-04 Thread Miklos Vajna (via logerrit)
 sw/CppunitTest_sw_pdf_test.mk |4 
 sw/CppunitTest_sw_txtencexport.mk |4 
 sw/CppunitTest_sw_uibase_unit.mk  |4 
 sw/CppunitTest_sw_uibase_uno.mk   |4 
 4 files changed, 16 insertions(+)

New commits:
commit 836c773fba27c4f6f6f5edb81dfb67df75b5daec
Author: Miklos Vajna 
AuthorDate: Thu Jan 4 08:08:05 2024 +0100
Commit: Miklos Vajna 
CommitDate: Thu Jan 4 09:00:30 2024 +0100

CppunitTest_sw_pdf_test: turn on gb_CppunitTest_set_non_application_font_use

And the same for 3 other tests.

Similar to commit dc4d7500c9d283e26d1553ce11366a217cf1f69d (Fix
CppunitTest_sd_import_tests-smartart non_application_font_use,
2023-10-23), though this didn't find anything so far.

Change-Id: Ib7d772d6dd9e662007e4eeef9f6536aecf2dbeea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161605
Reviewed-by: Miklos Vajna 
Tested-by: Jenkins

diff --git a/sw/CppunitTest_sw_pdf_test.mk b/sw/CppunitTest_sw_pdf_test.mk
index 09c79df57ec9..0d9fd16985e7 100644
--- a/sw/CppunitTest_sw_pdf_test.mk
+++ b/sw/CppunitTest_sw_pdf_test.mk
@@ -63,4 +63,8 @@ $(eval $(call gb_CppunitTest_use_vcl,sw_pdf_test))
 $(eval $(call gb_CppunitTest_use_rdb,sw_pdf_test,services))
 $(eval $(call gb_CppunitTest_use_configuration,sw_pdf_test))
 
+ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
+$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_pdf_test,abort))
+endif
+
 # vim: set noet sw=4 ts=4:
diff --git a/sw/CppunitTest_sw_txtencexport.mk 
b/sw/CppunitTest_sw_txtencexport.mk
index c9bd136c3ff0..cd167a456d27 100644
--- a/sw/CppunitTest_sw_txtencexport.mk
+++ b/sw/CppunitTest_sw_txtencexport.mk
@@ -61,4 +61,8 @@ $(eval $(call 
gb_CppunitTest_use_rdb,sw_txtencexport,services))
 
 $(eval $(call gb_CppunitTest_use_configuration,sw_txtencexport))
 
+ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
+$(eval $(call 
gb_CppunitTest_set_non_application_font_use,sw_txtencexport,abort))
+endif
+
 # vim: set noet sw=4 ts=4:
diff --git a/sw/CppunitTest_sw_uibase_unit.mk b/sw/CppunitTest_sw_uibase_unit.mk
index 6d337cd082a8..14107854cc6a 100644
--- a/sw/CppunitTest_sw_uibase_unit.mk
+++ b/sw/CppunitTest_sw_uibase_unit.mk
@@ -30,4 +30,8 @@ $(eval $(call gb_CppunitTest_set_include,sw_uibase_unit,\
 $$(INCLUDE) \
 ))
 
+ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
+$(eval $(call 
gb_CppunitTest_set_non_application_font_use,sw_uibase_unit,abort))
+endif
+
 # vim: set noet sw=4 ts=4:
diff --git a/sw/CppunitTest_sw_uibase_uno.mk b/sw/CppunitTest_sw_uibase_uno.mk
index be3adc6e71f2..db55b1d17ad1 100644
--- a/sw/CppunitTest_sw_uibase_uno.mk
+++ b/sw/CppunitTest_sw_uibase_uno.mk
@@ -73,4 +73,8 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_uibase_uno, \
 
 $(eval $(call gb_CppunitTest_use_more_fonts,sw_uibase_uno))
 
+ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
+$(eval $(call gb_CppunitTest_set_non_application_font_use,sw_uibase_uno,abort))
+endif
+
 # vim: set noet sw=4 ts=4: