Build fails in UnitTest
atelier.jva at icloud.com
Thu Oct 18 04:16:03 UTC 2018
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
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).
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...
>> recipe for target
>> make: ***
> 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?
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice