From e62c3f9317c22f3560d5bb660140c55b856113f1 Mon Sep 17 00:00:00 2001 From: 7c6f434c <7c6f434c@mail.ru> Date: Wed, 5 Nov 2025 11:44:13 +0100 Subject: [PATCH] libreoffice: disable tests that break after global Noto fonts bump --- .../libreoffice/skip-broken-tests.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/pkgs/applications/office/libreoffice/skip-broken-tests.patch b/pkgs/applications/office/libreoffice/skip-broken-tests.patch index 244935348161..fa66144a0cca 100644 --- a/pkgs/applications/office/libreoffice/skip-broken-tests.patch +++ b/pkgs/applications/office/libreoffice/skip-broken-tests.patch @@ -151,3 +151,40 @@ index e37df27fd817..937c12e8c4c5 100644 createSwDoc(); SwDoc* pDoc = getSwDoc(); IDocumentMarkAccess* pMarkAccess = pDoc->getIDocumentMarkAccess(); + +--- a/sw/qa/extras/layout/layout4.cxx 2025-11-05 10:23:47.982125220 +0100 ++++ b/sw/qa/extras/layout/layout4.cxx 2025-11-05 10:24:21.813125756 +0100 +@@ -1647,6 +1647,7 @@ + + CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf162314) + { ++ return ; // Missing glyphs in the system font version + // Regression test for bidi portion line breaking where the portion layout ends with underflow, + // but the bidi portion should not be truncated. + createSwDoc("tdf162314.fodt"); +--- a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx 2025-11-05 10:25:25.693126767 +0100 ++++ b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx 2025-11-05 10:27:38.216128865 +0100 +@@ -5127,6 +5127,7 @@ + // tdf#134226 - Tests that shaping is not broken by invisible spans + CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf134226) + { ++ return ; // flaky layout test; depends on system font versions? + saveAsPDF(u"tdf134226-shadda-in-hidden-span.fodt"); + std::unique_ptr pPdfDocument = parsePDFExport(); + +@@ -5605,6 +5606,7 @@ + // tdf#151748 - Textboxes should validate kashida positions + CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf151748KashidaSpace) + { ++ return ; // flaky layout test; depends on the system font versions? + saveAsPDF(u"tdf151748.fodt"); + + auto pPdfDocument = parsePDFExport(); +@@ -5665,6 +5667,7 @@ + // tdf#163105 - Writer kashida justification should expand spaces + CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf163105SwKashidaSpaceExpansion) + { ++ return ; // flaky layout test; depends on the system font versions? + saveAsPDF(u"tdf163105-kashida-spaces.fodt"); + + auto pPdfDocument = parsePDFExport();