From d04b753aa25971e58022d2a2e339941bd15c2f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 26 Jan 2023 10:02:34 +0000 Subject: [PATCH] find out which test is failing --- 0001-include-filename-if-the-test-fails.patch | 28 +++++++++++++++++++ libreoffice.spec | 1 + 2 files changed, 29 insertions(+) create mode 100644 0001-include-filename-if-the-test-fails.patch diff --git a/0001-include-filename-if-the-test-fails.patch b/0001-include-filename-if-the-test-fails.patch new file mode 100644 index 0000000..2f58fe0 --- /dev/null +++ b/0001-include-filename-if-the-test-fails.patch @@ -0,0 +1,28 @@ +From d362de6dee0949704c917d65d06d2bf1bc0892c1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +Date: Thu, 26 Jan 2023 09:59:47 +0000 +Subject: [PATCH] include filename if the test fails + +which it does for me with fedora 38 s390x + +Change-Id: I32ad30061717287e785a395afc893db1a5764bcd +--- + sw/qa/core/macros-test.cxx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sw/qa/core/macros-test.cxx b/sw/qa/core/macros-test.cxx +index 72ed9b5a9612..a8c76bef1883 100644 +--- a/sw/qa/core/macros-test.cxx ++++ b/sw/qa/core/macros-test.cxx +@@ -142,7 +142,7 @@ void SwMacrosTest::testVba() + + uno::Any aRet = executeMacro(testInfo[i].sMacroUrl); + OUString aStringRes; +- CPPUNIT_ASSERT(aRet >>= aStringRes); ++ CPPUNIT_ASSERT_MESSAGE(sFileName.toUtf8().getStr(), aRet >>= aStringRes); + CPPUNIT_ASSERT_EQUAL(OUString("OK"), aStringRes); + } + } +-- +2.39.1 + diff --git a/libreoffice.spec b/libreoffice.spec index 776721d..59a6190 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -269,6 +269,7 @@ Patch6: 0001-change-test-to-use-Calibri-instead-of-Cambria.patch Patch7: 0001-std-abort-during-CppunitTest_sw_layoutwriter.patch # TODO investigate these Patch8: 0001-aarch64-failing-here.patch +Patch9: 0001-include-filename-if-the-test-fails.patch # not upstreamed Patch500: 0001-disable-libe-book-support.patch