sfx2/qa/uitest/doc/objserv.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit c7a0a6445d07507a02fb1b72ea93fe2243d4bf58 Author: Noel Grandin <[email protected]> AuthorDate: Tue Oct 7 13:07:10 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Tue Oct 7 19:51:41 2025 +0200 fixes for --disable-pdfimport build Change-Id: I33b6828d4c7a8213c877918fe26360f3029c88fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192039 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sfx2/qa/uitest/doc/objserv.py b/sfx2/qa/uitest/doc/objserv.py index f67198bd1607..e2dc49058679 100644 --- a/sfx2/qa/uitest/doc/objserv.py +++ b/sfx2/qa/uitest/doc/objserv.py @@ -6,12 +6,15 @@ from uitest.framework import UITestCase from uitest.uihelper.common import get_url_for_data_file - +import os # Test for sfx2/source/doc/objserv.cxx. class Test(UITestCase): def testPdfSigning(self): + # test does not work with --disable-pdfimport config option + if os.getenv('ENABLE_PDFIMPORT') != 'TRUE': + return # Start Impress. with self.ui_test.load_file(get_url_for_data_file("pdf-sign.pdf")):
