Bug 149302 - Error running VclTextTest::testSimpleText
Summary: Error running VclTextTest::testSimpleText
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Dev-Bugs
  Show dependency treegraph
 
Reported: 2022-05-26 05:59 UTC by tagezi
Modified: 2023-01-19 08:28 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tagezi 2022-05-26 05:59:56 UTC
Description:
An error occurs while running the VclTextTest::testSimpleText test.

[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

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

Actual Results:
Test VclTextTest::testSimpleText has error.

Expected Results:
All tests run successfully.


Reproducible: Always


User Profile Reset: No



Additional Info:
OS: Kubuntu 20.04
Last commit: e544febe2108d0bbe99936ce7373a22f32fe08a7
Comment 1 Aron Budea 2022-06-15 05:08:58 UTC
No failure here, out of those parameters I only use "--enable-dbgutil", but I assume the rest don't matter in that case.
Comment 2 Buovjaga 2023-01-19 08:28:22 UTC
Please discuss test failures on the developer list.