CppunitTest_sw_layoutwriter failing on Windows with HiDPI

Luke Benes lukebenes at hotmail.com
Thu Sep 19 18:52:54 UTC 2019


Miklos,
The Unit Test in 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=c56bf1479cc71d1a2b0639f6383e90c1f7e3655b

Is failing on Windows with 125% scale factor. The build fails with the following error:

C:/core/sw/qa/extras/uiwriter/uiwriter2.cxx(2253) : error : Assertion
Test name: testTdf105330::TestBody
equality assertion failed
- Expected: 276
- Actual  : 271

Failures !!!
Run: 248   Failure total: 1   Failures: 1   Errors: 0

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


Should our Unit Test results be DPI dependent? Here are just a few recent examples of ones that I have reported:
http://document-foundation-mail-archive.969070.n3.nabble.com/CppunitTest-chart2-xshape-Failure-with-Display-Scaling-on-Windows-tp4254666.html
http://document-foundation-mail-archive.969070.n3.nabble.com/CppUnit-SdMiscTest-testTdf119956-Failing-on-Windows-with-150-scale-factor-tp4261841.html
http://document-foundation-mail-archive.969070.n3.nabble.com/CppunitTest-sw-layoutwriter-failing-on-Windows-with-HiDPI-tp4266491.html

-Luke


More information about the LibreOffice mailing list