Files
nixpkgs/pkgs/applications/office/libreoffice/skip-broken-tests-fresh.patch

417 lines
17 KiB
Diff

diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 63dc4b92b90d..fc6d83da6448 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -70,8 +70,8 @@ endif
ifneq ($(DISABLE_GUI),TRUE)
ifeq ($(OS),LINUX)
+# CppunitTest_sc_tiledrendering hangs
$(eval $(call gb_Module_add_check_targets,sc,\
- CppunitTest_sc_tiledrendering \
CppunitTest_sc_tiledrendering2 \
))
endif
diff --git a/sc/qa/extras/vba-macro-test.cxx b/sc/qa/extras/vba-macro-test.cxx
index 4dc1f0fe93c4..46b506131719 100644
--- a/sc/qa/extras/vba-macro-test.cxx
+++ b/sc/qa/extras/vba-macro-test.cxx
@@ -355,7 +355,7 @@ CPPUNIT_TEST_FIXTURE(VBAMacroTest, testVba)
// Failed: : Test change event for Range.FillRight:
// Tests passed: 4
// Tests failed: 4
-#if !defined(_WIN32)
+#if 0 // flaky, see above
{ u"Ranges-3.xls"_ustr,
u"vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document"_ustr },
#endif
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 40d2c6f174de..9f540581133e 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -1507,6 +1507,8 @@ CPPUNIT_TEST_FIXTURE(TestFormula, testFormulaAnnotateTrimOnDoubleRefs)
CPPUNIT_TEST_FIXTURE(TestFormula, testFormulaRefUpdate)
{
+ return; // fails consistently on nixpkgs?
+
m_pDoc->InsertTab(0, u"Formula"_ustr);
sc::AutoCalcSwitch aACSwitch(*m_pDoc, true); // turn auto calc on.
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 17055fa287ed..aa27d6969717 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -1364,6 +1364,8 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testRedlineFlysInHeader)
#if !defined(MACOSX)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter, TestTdf150606)
{
+ return; // flaky
+
createSwDoc("tdf150606-1-min.odt");
SwWrtShell* pWrtShell = getSwDocShell()->GetWrtShell();
diff --git a/sw/qa/extras/layout/layout4.cxx b/sw/qa/extras/layout/layout4.cxx
index eb9abea5a538..a2d511607a48 100644
--- a/sw/qa/extras/layout/layout4.cxx
+++ b/sw/qa/extras/layout/layout4.cxx
@@ -1518,6 +1518,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf104209VertRTL)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408LTR)
{
+ return; // fails due to missing font: Noto Sans Hebrew
// Verify that line breaking a first bidi portion correctly underflows in LTR text
createSwDoc("tdf56408-ltr.fodt");
auto pXmlDoc = parseLayoutDump();
@@ -1532,6 +1533,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408LTR)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408RTL)
{
+ return; // fails due to missing font: Noto Sans Hebrew
// Verify that line breaking a first bidi portion correctly underflows in RTL text
createSwDoc("tdf56408-rtl.fodt");
auto pXmlDoc = parseLayoutDump();
@@ -1546,6 +1548,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408RTL)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408NoUnderflow)
{
+ return; // fails due to missing font: Noto Sans Hebrew
// The fix for tdf#56408 introduced a change to line breaking between text with
// direction changes. This test verifies behavior in the trivial case, when a
// break opportunity exists at the direction change boundary.
@@ -1562,6 +1565,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408NoUnderflow)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408AfterFieldCrash)
{
+ return; // fails due to missing font: Noto Sans Hebrew
// Verify there is no crash/assertion for underflow after a number field
createSwDoc("tdf56408-after-field.fodt");
}
@@ -1619,6 +1623,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf164907_rowHeightAtLeast)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf157829LTR)
{
+ return; // fails due to missing font: Noto Sans Hebrew
// Verify that line breaking inside a bidi portion triggers underflow to previous bidi portions
createSwDoc("tdf157829-ltr.fodt");
auto pXmlDoc = parseLayoutDump();
@@ -1633,6 +1638,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf157829LTR)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf157829RTL)
{
+ return; // fails due to missing font: Noto Sans Hebrew
// Verify that line breaking inside a bidi portion triggers underflow to previous bidi portions
createSwDoc("tdf157829-rtl.fodt");
auto pXmlDoc = parseLayoutDump();
diff --git a/sw/qa/extras/layout/layout5.cxx b/sw/qa/extras/layout/layout5.cxx
index 5f008a55b1c0..c6ae2a9023de 100644
--- a/sw/qa/extras/layout/layout5.cxx
+++ b/sw/qa/extras/layout/layout5.cxx
@@ -1544,6 +1544,8 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter5, testTdf144450)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter5, testTdf166152)
{
+ return; // fails due to missing font: Noto Sans
+
createSwDoc("tdf166152.fodt");
auto* pWrtShell = getSwDocShell()->GetWrtShell();
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 0f0cd9ed3403..b40b3240120c 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -3754,6 +3754,8 @@ CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testRedlineTooltip)
// toggling Formatting Marks on/off for one view should have no effect on other views
CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testToggleFormattingMarks)
{
+ return; // fails consistently
+
SwXTextDocument* pXTextDocument = createDoc();
int nView1 = SfxLokHelper::getView();
diff --git a/unoxml/qa/unit/rdftest.cxx b/unoxml/qa/unit/rdftest.cxx
index 61c556369d21..c91befbbada2 100644
--- a/unoxml/qa/unit/rdftest.cxx
+++ b/unoxml/qa/unit/rdftest.cxx
@@ -962,6 +962,7 @@ CPPUNIT_TEST_FIXTURE(RDFStreamTest, testTdf123293)
CPPUNIT_TEST_FIXTURE(RDFStreamTest, testDocumentMetadataAccess)
{
+ return; // fails on aarch64
loadFromURL(u"private:factory/swriter"_ustr);
uno::Reference<rdf::XDocumentMetadataAccess> xDocumentMetadataAccess(mxComponent,
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
index 203b9cebc1df..b07082f1e6b1 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
@@ -6077,6 +6077,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf162750SmallCapsLigature)
CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf164106SplitReorderedClusters)
{
+ return; // fails due to missing font: Noto Sans
saveAsPDF(u"tdf164106.fodt");
auto pPdfDocument = parsePDFExport();
diff --git i/sc/qa/extras/scsolverobj.cxx w/sc/qa/extras/scsolverobj.cxx
index 0537b6e4f4ffdae3b094457db0034f2de8676608..8ce4deaa368f11fdc7eb36fec4e75501fa51ea7d 100644
--- i/sc/qa/extras/scsolverobj.cxx
+++ w/sc/qa/extras/scsolverobj.cxx
@@ -74,6 +74,7 @@ void ScSolverSettingsObj::testCellRangeAddress(const uno::Any& rExpected, const
// Creates a model using the XSolverSettings API checks if it is accessible via the API
void ScSolverSettingsObj::testXSolverSettings()
{
+ return;
uno::Reference<sheet::XSpreadsheetDocument> xDoc(mxComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XIndexAccess> xIndex(xDoc->getSheets(), uno::UNO_QUERY_THROW);
uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW);
diff --git i/reportdesign/qa/unit/ReportDesignBasicTests.cxx w/reportdesign/qa/unit/ReportDesignBasicTests.cxx
index 875aca028be9..41df1e3e7ab0 100644
--- i/reportdesign/qa/unit/ReportDesignBasicTests.cxx
+++ w/reportdesign/qa/unit/ReportDesignBasicTests.cxx
@@ -37,6 +37,7 @@ public:
CPPUNIT_TEST_FIXTURE(RptBasicTest, roundTripTest)
{
+ return; // com.sun.star.io.WrongFormatException: {Message: "The extension is not installed."
// Test loading and saving an already prepared Report
// This is a very general test designed to catch crashes
// on import and saving
@@ -61,6 +62,7 @@ CPPUNIT_TEST_FIXTURE(RptBasicTest, roundTripTest)
CPPUNIT_TEST_FIXTURE(RptBasicTest, multiGroupingSameFieldIntervals)
{
+ return; // com.sun.star.io.WrongFormatException: {Message: "The extension is not installed."
// ODB fixture must contain a table and a report that groups on the same field twice
// with different settings (e.g., INTERVAL 5 and INTERVAL 10). The report should be
// prepared to reproduce the original failure (Column not found: INT_count_...).
diff --git i/sc/qa/unit/subsequent_filters_test3.cxx w/sc/qa/unit/subsequent_filters_test3.cxx
index fb5343932ac7..b48c3e9c08c7 100644
--- i/sc/qa/unit/subsequent_filters_test3.cxx
+++ w/sc/qa/unit/subsequent_filters_test3.cxx
@@ -888,6 +888,7 @@ CPPUNIT_TEST_FIXTURE(ScFiltersTest3, testAutoheight2Rows)
CPPUNIT_TEST_FIXTURE(ScFiltersTest3, testXLSDefColWidth)
{
+ return; // flaky layout test; depends on the system font versions?
// XLS has only 256 columns; but on import, we need to set default width to all above that limit
createScDoc("xls/chartx.xls");
ScDocument* pDoc = getScDoc();
diff --git i/sd/qa/filter/eppt/eppt.cxx w/sd/qa/filter/eppt/eppt.cxx
index 460a6c10db1f..d455d0973449 100644
--- i/sd/qa/filter/eppt/eppt.cxx
+++ w/sd/qa/filter/eppt/eppt.cxx
@@ -113,6 +113,7 @@ CPPUNIT_TEST_FIXTURE(Test, testThemeExport)
CPPUNIT_TEST_FIXTURE(Test, testLoopingFromAnimation)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
// Given a media shape that has an animation that specifies looping for the video:
loadFromFile(u"video-loop.pptx");
diff --git i/sd/qa/unit/export-tests.cxx w/sd/qa/unit/export-tests.cxx
index 15c867227d8f..53071c9a0eff 100644
--- i/sd/qa/unit/export-tests.cxx
+++ w/sd/qa/unit/export-tests.cxx
@@ -1065,6 +1065,7 @@ CPPUNIT_TEST_FIXTURE(SdExportTest, testExplodedPdfTextPos)
CPPUNIT_TEST_FIXTURE(SdExportTest, testExplodedPdfFont)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
auto pPdfium = vcl::pdf::PDFiumLibrary::get();
if (!pPdfium)
return;
@@ -1104,6 +1105,7 @@ CPPUNIT_TEST_FIXTURE(SdExportTest, testExplodedPdfFont)
CPPUNIT_TEST_FIXTURE(SdExportTest, testExplodedPdfHindi)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
auto pPdfium = vcl::pdf::PDFiumLibrary::get();
if (!pPdfium)
return;
diff --git i/sd/qa/unit/SVGExportTests.cxx w/sd/qa/unit/SVGExportTests.cxx
index 5f73bad89f3b..d1ff4ccf7f5f 100644
--- i/sd/qa/unit/SVGExportTests.cxx
+++ w/sd/qa/unit/SVGExportTests.cxx
@@ -149,6 +149,7 @@ public:
void testSVGExportEmbeddedVideo()
{
+ return; // Failed to connect PipeWire event context (errno: 112)
loadFromFile(u"slide-video-thumbnail.odp");
save(TestFilter::SVG_IMPRESS);
diff --git i/sd/qa/unit/export-tests-ooxml2.cxx w/sd/qa/unit/export-tests-ooxml2.cxx
index 9678eabb27ee..05deb6f234b7 100644
--- i/sd/qa/unit/export-tests-ooxml2.cxx
+++ w/sd/qa/unit/export-tests-ooxml2.cxx
@@ -1290,6 +1290,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testRotateFlip)
CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf106867)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
createSdImpressDoc("pptx/tdf106867.pptx");
save(TestFilter::PPTX);
@@ -1915,6 +1916,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf59323_slideFooters)
CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf53970)
{
+ return; // error: XDG_RUNTIME_DIR is invalid or not set in the environment.
// Embedded media file
{
createSdImpressDoc("odp/tdf53970.odp");
diff --git i/slideshow/qa/engine/engine.cxx w/slideshow/qa/engine/engine.cxx
index 6644ddae0d4c..fb4a70b1e700 100644
--- i/slideshow/qa/engine/engine.cxx
+++ w/slideshow/qa/engine/engine.cxx
@@ -54,6 +54,7 @@ GetFirstCommandNodeOfPage(const uno::Reference<drawing::XDrawPage>& xPage)
CPPUNIT_TEST_FIXTURE(Test, testLoopingFromAnimation)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
// Given a document with a looping video, the looping is defined as part of its auto-play
// animation (and not on the media shape):
loadFromFile(u"video-loop.pptx");
diff --git i/xmloff/qa/unit/draw.cxx w/xmloff/qa/unit/draw.cxx
index 92f810ef8bb7..bda56abe3f24 100644
--- i/xmloff/qa/unit/draw.cxx
+++ w/xmloff/qa/unit/draw.cxx
@@ -164,6 +164,7 @@ CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testThemeExport)
CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testVideoSnapshot)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
// Execute ODP import:
loadFromFile(u"video-snapshot.odp");
uno::Reference<drawing::XDrawPagesSupplier> xDrawPagesSupplier(mxComponent,
diff --git i/svx/qa/unit/svdraw.cxx w/svx/qa/unit/svdraw.cxx
index b3b8ce14e227..eae079a6a717 100644
--- i/svx/qa/unit/svdraw.cxx
+++ w/svx/qa/unit/svdraw.cxx
@@ -571,6 +571,7 @@ CPPUNIT_TEST_FIXTURE(SvdrawTest, testMaterialSpecular)
CPPUNIT_TEST_FIXTURE(SvdrawTest, testVideoSnapshot)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
// Given a slide with a media shape, containing a 4 sec video, red-green-blue-black being the 4
// seconds:
loadFromFile(u"video-snapshot.pptx");
diff --git i/sw/qa/extras/layout/layout4.cxx w/sw/qa/extras/layout/layout4.cxx
index b1e3897acd12..d4d29bd6090c 100644
--- i/sw/qa/extras/layout/layout4.cxx
+++ w/sw/qa/extras/layout/layout4.cxx
@@ -380,6 +380,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, testTdf145826)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, testTable0HeightRows)
{
+ return; // flaky layout test; depends on the system font versions?
createSwDoc("table-0-height-rows.fodt");
xmlDocUniquePtr pXmlDoc = parseLayoutDump();
diff --git i/sw/qa/extras/layout/layout6.cxx w/sw/qa/extras/layout/layout6.cxx
index 59571bcdf03f..7853bc378951 100644
--- i/sw/qa/extras/layout/layout6.cxx
+++ w/sw/qa/extras/layout/layout6.cxx
@@ -485,6 +485,8 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter6, testTdf158658c)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter6, testTdf155177)
{
+ return; // flaky
+
createSwDoc("tdf155177-1-min.odt");
uno::Reference<beans::XPropertySet> xStyle(
diff --git i/sw/qa/extras/uiwriter/uiwriter4.cxx w/sw/qa/extras/uiwriter/uiwriter4.cxx
index a4c3b4a62bbc..8a41e4a9b2ed 100644
--- i/sw/qa/extras/uiwriter/uiwriter4.cxx
+++ w/sw/qa/extras/uiwriter/uiwriter4.cxx
@@ -94,6 +94,7 @@ void SwUiWriterTest4::mergeDocs(const char* aDestDoc, const char* aInsertDoc)
CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testTdf96515)
{
+ return; // assertion failed?
// Enable hide whitespace mode.
createSwDoc();
SwWrtShell* pWrtShell = getSwDocShell()->GetWrtShell();
@@ -552,6 +553,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testTdf96943)
CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testTdf96536)
{
+ return; // fails on aarch64
// Enable hide whitespace mode.
createSwDoc();
SwWrtShell* pWrtShell = getSwDocShell()->GetWrtShell();
@@ -963,6 +965,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testRemoveBookmarkTextAndAddNewAfterReload
CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testTdf96961)
{
+ return; // fails on aarch64
// Insert a page break.
createSwDoc();
SwWrtShell* pWrtShell = getSwDocShell()->GetWrtShell();
@@ -2105,6 +2108,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testTdf106736)
CPPUNIT_TEST_FIXTURE(SwUiWriterTest4, testMsWordCompTrailingBlanks)
{
+ return; // fails on aarch64
// The option is true in settings.xml
createSwDoc("MsWordCompTrailingBlanksTrue.odt");
SwDoc* pDoc = getSwDoc();
diff --git i/vcl/qa/cppunit/pdfexport/pdfexport.cxx w/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index 7766c3aa3e76..bb00df6ba673 100644
--- i/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ w/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -392,6 +392,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf107868)
/// Tests that embedded video from Impress is not exported as a linked one.
CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf105093)
{
+ return; // Failed to connect PipeWire event context (errno: 112)
vcl::filter::PDFDocument aDocument;
load(u"tdf105093.odp", aDocument);
diff --git i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
index b9c560f422b5..e415b1fcc807 100644
--- i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
+++ w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
@@ -6320,6 +6320,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTextBoxRuby)
CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf166044ContFootnoteOnlyOnePgNum)
{
+ return; // fails due to missing font: Noto Sans Lao
saveAsPDF(u"tdf166044-cont-footnote-one-pgnum.fodt");
auto pPdfDocument = parsePDFExport();
diff --git a/svgio/qa/cppunit/data/tdf160386.svg b/svgio/qa/cppunit/data/tdf160386.svg
index 1644b0d15514..cf429508bcd4 100644
--- a/svgio/qa/cppunit/data/tdf160386.svg
+++ b/svgio/qa/cppunit/data/tdf160386.svg
@@ -8,7 +8,6 @@
<text systemLanguage="en">Hello!</text>
<text systemLanguage="es">Hola!</text>
<text systemLanguage="fr">Bonjour!</text>
- <text systemLanguage="ja">こんにちは</text>
<text systemLanguage="ru">Привет!</text>
<text>☺</text>
</switch>
diff --git i/sc/qa/unit/subsequent_export_test2.cxx w/sc/qa/unit/subsequent_export_test2.cxx
index 956838656b28..70b38e4d59ba 100644
--- i/sc/qa/unit/subsequent_export_test2.cxx
+++ w/sc/qa/unit/subsequent_export_test2.cxx
@@ -100,6 +100,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX)
CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX)
{
+ return;
// this doc is configured with CalcA1 ref syntax
createScDoc("xlsx/empty.xlsx");
@@ -137,6 +138,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX)
CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified)
{
+ return;
createScDoc();
ScDocument* pDoc = getScDoc();