delegatesizehelpertest failures when builing in i386-chroot on 64-bit host
[0/1] Running tests...
Test project /builddir/neochat-23.08.0/build
Start 1: appstreamtest
1/4 Test #1: appstreamtest .................... Passed 0.00 sec
Start 2: neochatroomtest
2/4 Test #2: neochatroomtest .................. Passed 0.05 sec
Start 3: texthandlertest
3/4 Test #3: texthandlertest .................. Passed 0.05 sec
Start 4: delegatesizehelpertest
4/4 Test #4: delegatesizehelpertest ...........***Failed 0.01 sec
********* Start testing of DelegateSizeHelperTest *********
Config: Using QtTest library 5.15.7, Qt 5.15.7 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 12.2.0), void unknown
PASS : DelegateSizeHelperTest::initTestCase()
PASS : DelegateSizeHelperTest::risingPercentage(zero)
PASS : DelegateSizeHelperTest::risingPercentage(one hundred)
FAIL! : DelegateSizeHelperTest::risingPercentage(one fifty) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 76
Expected (currentWidth) : 75
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(55)]
FAIL! : DelegateSizeHelperTest::risingPercentage(two hundred) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 201
Expected (currentWidth) : 200
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(55)]
FAIL! : DelegateSizeHelperTest::risingPercentage(three hundred) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 301
Expected (currentWidth) : 300
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(55)]
PASS : DelegateSizeHelperTest::fallingPercentage(zero)
FAIL! : DelegateSizeHelperTest::fallingPercentage(one hundred) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 101
Expected (currentWidth) : 100
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(86)]
FAIL! : DelegateSizeHelperTest::fallingPercentage(one fifty) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 76
Expected (currentWidth) : 75
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(86)]
PASS : DelegateSizeHelperTest::fallingPercentage(two hundred)
PASS : DelegateSizeHelperTest::fallingPercentage(three hundred)
PASS : DelegateSizeHelperTest::equalPercentage(zero)
FAIL! : DelegateSizeHelperTest::equalPercentage(one hundred) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 51
Expected (currentWidth) : 50
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(117)]
FAIL! : DelegateSizeHelperTest::equalPercentage(one fifty) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 76
Expected (currentWidth) : 75
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(117)]
FAIL! : DelegateSizeHelperTest::equalPercentage(two hundred) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 101
Expected (currentWidth) : 100
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(117)]
FAIL! : DelegateSizeHelperTest::equalPercentage(three hundred) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 151
Expected (currentWidth) : 150
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(117)]
QWARN : DelegateSizeHelperTest::equalBreakpoint(start higher) DelegateSizeHelper::calculateCurrentPercentageWidth() - m_startBreakpoint is equal to m_endBreakpoint this would lead to divide by zero, aborting
QWARN : DelegateSizeHelperTest::equalBreakpoint(start higher) DelegateSizeHelper::calculateCurrentPercentageWidth() - m_startBreakpoint is equal to m_endBreakpoint this would lead to divide by zero, aborting
PASS : DelegateSizeHelperTest::equalBreakpoint(start higher)
FAIL! : DelegateSizeHelperTest::equalBreakpoint(equal) Compared doubles are not the same (fuzzy compare)
Actual (delegateSizeHelper.currentWidth()): 501
Expected (currentWidth) : 500
Loc: [/builddir/neochat-23.08.0/autotests/delegatesizehelpertest.cpp(152)]
QWARN : DelegateSizeHelperTest::equalBreakpoint(end higher) DelegateSizeHelper::calculateCurrentPercentageWidth() - m_startBreakpoint is equal to m_endBreakpoint this would lead to divide by zero, aborting
QWARN : DelegateSizeHelperTest::equalBreakpoint(end higher) DelegateSizeHelper::calculateCurrentPercentageWidth() - m_startBreakpoint is equal to m_endBreakpoint this would lead to divide by zero, aborting
PASS : DelegateSizeHelperTest::equalBreakpoint(end higher)
PASS : DelegateSizeHelperTest::cleanupTestCase()
Totals: 10 passed, 10 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of DelegateSizeHelperTest *********
75% tests passed, 1 tests failed out of 4
Total Test time (real) = 0.12 sec
The following tests FAILED:
4 - delegatesizehelpertest (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util
cd /builddir/neochat-23.08.0/build && /usr/libexec/xbps-src/bin/ctest --force-new-ctest-process
ninja: build stopped: subcommand failed.