find out which test is failing

f41
Caolán McNamara 2 years ago
parent 179afc0ca1
commit d04b753aa2

@ -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

@ -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

Loading…
Cancel
Save