Build fails in UnitTest
Juan Velasco
atelier.jva at icloud.com
Thu Oct 18 04:16:03 UTC 2018
Hi,
I am also getting the same error
In my case the failing tests are:
|Test name: ScFiltersTest::testMiscRowHeights less equal assertion failed
- Expected less or equal than: 15 - Actual : 39 Test name:
ScFiltersTest::testOptimalHeightReset less equal assertion failed -
Expected less or equal than: 8 - Actual : 22 |
I have found that the error is related to the screen resolution, it
fails with 1920 x 1200, but if I switch to 1920 x1080 the tests pass
without problem.
I think it has to do somehow with the conversions between units, the
default row height calculation and resolution proportion: in the failing
case is 16:10 (common in Macs), and in the passing case is 16:9
(standard Full HD)
I am debugging these tests to see if I can find what is going on (first
time working with LO code, so I might need help).
Regards,
Juan
On 17/10/18 23:09, Eike Rathke wrote:
> Hi kalriel,
>
> On Monday, 2018-10-15 20:26:34 -0700, kalriel wrote:
>
>> I get the following error when building the master
>>
>> Error: a unit test failed, please do one of:
>> make CppunitTest_sc_subsequent_filters_test CPPUNITTRACE="lldb --" #
>> for interactive debugging on OS X
>> make CppunitTest_sc_subsequent_filters_test VALGRIND=memcheck #
>> for memory checking
>>
>> You can limit the execution to just one particular test by:
>>
>> make CppunitTest_sc_subsequent_filters_test CPPUNIT_TEST_NAME="testXYZ"
>> ...above mentioned params...
>>
>> /[...]/LibreOffice_Source/lode/dev/core/solenv/gbuild/CppunitTest.mk:120:
>> recipe for target
>> '/[...]/LibreOffice_Source/lode/dev/core/workdir/CppunitTest/sc_subsequent_filters_test.test'
>> failed
>> make[1]: ***
> And a bunch of lines above that the real error/failure was displayed
> (the location and name of the test and lines starting with Expected and
> Actual). So what was it?
>
> Eike
>
>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20181018/8914a053/attachment.html>
More information about the LibreOffice
mailing list