commit: 4e2d5adcd503bc93124191daa2b218e6ad0c3f05
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 23 01:36:38 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 23 01:36:38 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2d5adc
app-office/libreoffice: add test skips baseline
Import a bunch from Fedora and add ones that I've seen that fail
locally. Not great but better than nothing. We can chip away at these
and means we're going to pay more attention to tests hopefully.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-office/libreoffice/libreoffice-25.2.1.1.ebuild | 25 ++++++++++++++++++++++
app-office/libreoffice/libreoffice-9999.ebuild | 25 ++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/app-office/libreoffice/libreoffice-25.2.1.1.ebuild
b/app-office/libreoffice/libreoffice-25.2.1.1.ebuild
index 3507e0605f68..c909348986e4 100644
--- a/app-office/libreoffice/libreoffice-25.2.1.1.ebuild
+++ b/app-office/libreoffice/libreoffice-25.2.1.1.ebuild
@@ -374,6 +374,31 @@ src_prepare() {
-e ":Keywords: s:pdf;::" \
sysui/desktop/menus/draw.desktop || die
fi
+
+ # These test failures are largely added blindly in 25.2.1.1 to
+ # give us a baseline and then chip away at, rather than disregarding
+ # tests entirely.
+ #
+ # Various test skips from Fedora
+ # "Failing on multiple arches"
+ sed -i -e '/CppunitTest_svgio/d' svgio/Module_svgio.mk || die
+ sed -i -e '/CppunitTest_sw_layoutwriter3/d' sw/Module_sw.mk || die
+ # "https://bugzilla.redhat.com/show_bug.cgi?id=2334719
+ # started to fail in 25.2.0.0"
+ sed -i -e '/CppunitTest_sw_layoutwriter4/d' sw/Module_sw.mk || die
+ # "testStatusBarPageNumber it is said to "fail from time to time"...
+ # started to fail in 25.2.0.0"
+ # Skip tests failing with latest app-text/poppler (25.02.0?)
+ sed -i -e '/CppunitTest_sw_tiledrendering2/d' sw/Module_sw.mk || die
+ sed -i -e '/CppunitTest_sc_pdf_export/d' sc/Module_sc.mk || die
+ sed -i -e '/CppunitTest_sdext_pdfimport/d' sdext/Module_sdext.mk || die
+ sed -i -e '/CppunitTest_sfx2_view/d' sfx2/Module_sfx2.mk || die
+ sed -i -e '/CppunitTest_sw_pdf_test/d' sw/Module_sw.mk || die
+ #
+ # Fails w/ 25.2.1.1 on amd64
+ sed -i -e '/CppunitTest_vcl_text/d' vcl/Module_vcl.mk || die
+ sed -i -e '/CppunitTest_svx_unit/d' svx/Module_svx.mk || die
+ sed -i -e '/CppunitTest_sc_ucalc_formula/d' sc/Module_sc.mk || die
}
src_configure() {
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild
b/app-office/libreoffice/libreoffice-9999.ebuild
index 010037b1b9b5..a4dd4bdd10f1 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -374,6 +374,31 @@ src_prepare() {
-e ":Keywords: s:pdf;::" \
sysui/desktop/menus/draw.desktop || die
fi
+
+ # These test failures are largely added blindly in 25.2.1.1 to
+ # give us a baseline and then chip away at, rather than disregarding
+ # tests entirely.
+ #
+ # Various test skips from Fedora
+ # "Failing on multiple arches"
+ sed -i -e '/CppunitTest_svgio/d' svgio/Module_svgio.mk || die
+ sed -i -e '/CppunitTest_sw_layoutwriter3/d' sw/Module_sw.mk || die
+ # "https://bugzilla.redhat.com/show_bug.cgi?id=2334719
+ # started to fail in 25.2.0.0"
+ sed -i -e '/CppunitTest_sw_layoutwriter4/d' sw/Module_sw.mk || die
+ # "testStatusBarPageNumber it is said to "fail from time to time"...
+ # started to fail in 25.2.0.0"
+ # Skip tests failing with latest app-text/poppler (25.02.0?)
+ sed -i -e '/CppunitTest_sw_tiledrendering2/d' sw/Module_sw.mk || die
+ sed -i -e '/CppunitTest_sc_pdf_export/d' sc/Module_sc.mk || die
+ sed -i -e '/CppunitTest_sdext_pdfimport/d' sdext/Module_sdext.mk || die
+ sed -i -e '/CppunitTest_sfx2_view/d' sfx2/Module_sfx2.mk || die
+ sed -i -e '/CppunitTest_sw_pdf_test/d' sw/Module_sw.mk || die
+ #
+ # Fails w/ 25.2.1.1 on amd64
+ sed -i -e '/CppunitTest_vcl_text/d' vcl/Module_vcl.mk || die
+ sed -i -e '/CppunitTest_svx_unit/d' svx/Module_svx.mk || die
+ sed -i -e '/CppunitTest_sc_ucalc_formula/d' sc/Module_sc.mk || die
}
src_configure() {