Error running cppunit automated test

Lera Goncharuk lera.goncharuk at gmail.com
Tue May 17 03:47:33 UTC 2022


Hi all!

I did 'make check' and got an error in the cpptest. [1] At the request
of Xisco Faulí, I am redirecting the description of the bug here.

OS: Kubuntu 20.04
System Locale: LANG=ru_RU.UTF-8
LO version: on commit 9b1dcd8f591edc6ed1a6db469956985b59badaf5
The error is reproduced stably.

Progress:
git clone https://gerrit.libreoffice.org/core libreoffice
./autogen.sh --enable-dbgutil --enable-debug --enable-symbols
--with-help --with-symbol-config --with-lang="en" --with-locales="en
ru "
make
make check

Expected Result:
Automatic execution of all CppUnit tests.

Actual result:

failures!!!
Run: 23 Failure total: 1 Failures: 1 Errors: 0

Error: a unit test failed, please do one of:

make CppunitTest_basic_macros CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make CppunitTest_basic_macros VALGRIND=memcheck
    # for memory checking
make CppunitTest_basic_macros DEBUGCPPUNIT=TRUE
    # for exception catching

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

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

make[1]: *** [/home/lera/project/libreoffice/solenv/gbuild/CppunitTest.mk:121:
/home/lera/project/libreoffice/workdir/CppunitTest/basic_macros.test]

The full test execution log [2].

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=149094
[2] https://bug-attachments.documentfoundation.org/attachment.cgi?id=180125

Best regards, Lera


More information about the LibreOffice mailing list