sw/CppunitTest_sw_pdf_test.mk |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 56f45bf76f6cd6683e81b9d30131a7a4c5696340
Author:     Dr. David Alan Gilbert <d...@treblig.org>
AuthorDate: Thu Feb 22 11:36:14 2024 +0000
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
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 <mike.kagan...@collabora.com>

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 \

Reply via email to