Error running cppunit automated test

Lera Goncharuk lera.goncharuk at
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.

git clone libreoffice
./ --enable-dbgutil --enable-debug --enable-symbols
--with-help --with-symbol-config --with-lang="en" --with-locales="en
ru "
make check

Expected Result:
Automatic execution of all CppUnit tests.

Actual result:

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/

The full test execution log [2].


Best regards, Lera

More information about the LibreOffice mailing list