make stops with error in unittest

drei97 y27p6e3vuNQx at web.de
Mon Jan 15 09:25:00 UTC 2024


Hi,


building LO on Windows stops with following messages:


--snip--

[build CUT] xmlsecurity_signing2
[_RUN_____] testPasswordPreserveMacroSignatureODF13::TestBody
D:/LibreOffice/lode/dev/core/xmlsecurity/qa/unit/signing/signing2.cxx:128:testPasswordPreserveMacroSignatureODF13::TestBody
equality assertion failed
- Expected: 1
- Actual  : 4

testPasswordPreserveMacroSignatureODF13::TestBody finished in: 2603ms
[_RUN_____] testPasswordPreserveMacroSignatureODFWholesomeLO242::TestBody
D:/LibreOffice/lode/dev/core/xmlsecurity/qa/unit/signing/signing2.cxx:252:testPasswordPreserveMacroSignatureODFWholesomeLO242::TestBody
equality assertion failed
- Expected: 1
- Actual  : 4

testPasswordPreserveMacroSignatureODFWholesomeLO242::TestBody finished
in: 148ms
[_RUN_____] testPreserveMacroSignatureODB::TestBody
testPreserveMacroSignatureODB::TestBody finished in: 189ms
D:/LibreOffice/lode/dev/core/xmlsecurity/qa/unit/signing/signing2.cxx(128)
: error : Assertion
Test name: testPasswordPreserveMacroSignatureODF13::TestBody
equality assertion failed
- Expected: 1
- Actual  : 4

D:/LibreOffice/lode/dev/core/xmlsecurity/qa/unit/signing/signing2.cxx(252)
: error : Assertion
Test name: testPasswordPreserveMacroSignatureODFWholesomeLO242::TestBody
equality assertion failed
- Expected: 1
- Actual  : 4

Failures !!!
Run: 3   Failure total: 2   Failures: 2   Errors: 0

Error: a unit test failed, please do one of:
make CppunitTest_xmlsecurity_signing2 CPPUNITTRACE=TRUE # which is a
shortcut for the following line
make CppunitTest_xmlsecurity_signing2 CPPUNITTRACE="'C:/Program
Files/Microsoft Visual Studio/2022/Community/Common7/IDE/devenv.exe'
/debugexe" # for interactive debugging in Visual Studio
make CppunitTest_xmlsecurity_signing2 CPPUNITTRACE="drmemory
-free_max_frames 20" # for memory checking (install Dr.Memory first, and
put it to your PATH)

You can limit the execution to just one particular test by:

make CppunitTest_xmlsecurity_signing2 CPPUNIT_TEST_NAME="testXYZ"
...above mentioned params...

make[1]: ***
[D:/LibreOffice/lode/dev/core/solenv/gbuild/CppunitTest.mk:128:
D:/LibreOffice/lode/dev/core/workdir/CppunitTest/xmlsecurity_signing2.test]
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:290: build] Error 2

--snap--


Starting the recommended command given above, brings VS up and the test
ends with same result as cited here from the build log


What's wrong?


Joachim




More information about the LibreOffice mailing list