diff options
Diffstat (limited to '0001-include-filename-if-the-test-fails.patch')
-rw-r--r-- | 0001-include-filename-if-the-test-fails.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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?= <caolanm@redhat.com> +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 + |