sw/qa/core/macros-test.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 070292c719b7378202d6fd0c270828a75cd23554
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jan 26 09:59:47 2023 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jan 26 11:00:56 2023 +0000

    include filename if the test fails
    
    which it does for me with fedora 38 s390x
    
    Change-Id: I32ad30061717287e785a395afc893db1a5764bcd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146165
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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);
     }
 }

Reply via email to