Test name: VclTextTest::testSimpleText double equality assertion failed

Lera Goncharuk lera.goncharuk at gmail.com
Thu May 26 11:07:11 UTC 2022


Hi,

I was running automated tests and got an error.

OS: Kubuntu 20.04
Last commit: e544febe2108d0bbe99936ce7373a22f32fe08a7
<https://git.libreoffice.org/core/commit/e544febe2108d0bbe99936ce7373a22f32fe08a7>

Steps to Reproduce:
1. git clone https://gerrit.libreoffice.org/core libreoffice
2. ./autogen.sh --enable-dbgutil --enable-debug --enable-symbols
--with-symbol-config
3. make
4. make check

[CUT] vcl_mnemonic [_RUN_____] (anonymous
namespace)::CanvasBitmapTest::runTest (anonymous
namespace)::CanvasBitmapTest::runTest finished in: 9991ms [_RUN_____]
VclComplexTextTest::testArabic VclComplexTextTest::testArabic finished in:
8096ms [_RUN_____] VclComplexTextTest::testKashida
VclComplexTextTest::testKashida finished in: 5ms [_RUN_____]
VclComplexTextTest::testTdf95650 VclComplexTextTest::testTdf95650 finished
in: 205ms [_RUN_____] VclComplexTextTest::testCaching
VclComplexTextTest::testCaching finished in: 323ms [_RUN_____]
VclTextTest::testSimpleText
/home/lera/project/libreoffice/vcl/qa/cppunit/text.cxx:222:VclTextTest::testSimpleText
double equality assertion failed - Expected: 42 - Actual : 37 - Delta : 4
VclTextTest::testSimpleText finished in: 278ms [_RUN_____]
VclTextTest::testVerticalText
warn:vcl:329561:329561:vcl/qa/cppunit/text.cxx:315: Could not find a font
for VclTextTest::testVerticalText, skipping test.
VclTextTest::testVerticalText finished in: 1ms [_RUN_____]
VclTextTest::testTextLayoutCache VclTextTest::testTextLayoutCache finished
in: 0ms [_RUN_____] VclTextTest::testImplLayoutRuns_AddPos
VclTextTest::testImplLayoutRuns_AddPos finished in: 0ms [_RUN_____]
VclTextTest::testImplLayoutRuns_AddRuns
VclTextTest::testImplLayoutRuns_AddRuns finished in: 1ms [_RUN_____]
VclTextTest::testImplLayoutRuns_PosIsInRun
VclTextTest::testImplLayoutRuns_PosIsInRun finished in: 0ms [_RUN_____]
VclTextTest::testImplLayoutRuns_PosIsInAnyRun
VclTextTest::testImplLayoutRuns_PosIsInAnyRun finished in: 0ms [_RUN_____]
VclTextTest::testImplLayoutArgsBiDiStrong
VclTextTest::testImplLayoutArgsBiDiStrong finished in: 0ms [_RUN_____]
VclTextTest::testImplLayoutArgsBiDiRtl
VclTextTest::testImplLayoutArgsBiDiRtl finished in: 0ms [_RUN_____]
VclTextTest::testImplLayoutArgsRightAlign
VclTextTest::testImplLayoutArgsRightAlign finished in: 1ms [_RUN_____]
VclTextTest::testImplLayoutArgs_PrepareFallback_precalculatedglyphs
VclTextTest::testImplLayoutArgs_PrepareFallback_precalculatedglyphs
finished in: 365ms text.cxx:222:Assertion Test name:
VclTextTest::testSimpleText double equality assertion failed - Expected: 42
- Actual : 37 - Delta : 4 Failures !!! Run: 16 Failure total: 1 Failures: 1
Errors: 0 Error: a unit test failed, please do one of: make
CppunitTest_vcl_text CPPUNITTRACE="gdb --args" # for interactive debugging
on Linux make CppunitTest_vcl_text VALGRIND=memcheck # for memory checking
make CppunitTest_vcl_text 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/vcl_text.test] Ошибка 1
make[1]: *** Ожидание завершения заданий… make: *** [Makefile:288: build]
Ошибка 2 It maybe problems in may system. Could anyone comment?


Best regards,

Lera



   - Collapse All Comments
   <https://bugs.documentfoundation.org/show_bug.cgi?id=149302#>
   - Expand All Comments
   <https://bugs.documentfoundation.org/show_bug.cgi?id=149302#>
   -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20220526/e7240f7c/attachment.htm>


More information about the LibreOffice mailing list