Test File: sc/qa/unit/data/functions/fods/chiinv.fods: fails with Assertion

Eike Rathke erack at redhat.com
Thu Sep 1 16:13:58 UTC 2016

Hi Alex,

On Wednesday, 2016-08-31 19:30:35 +0100, Alex McMurchy wrote:

> When compiling LibreOffice I get a failed Unit test. The problem occurs in
> sc/qa/unit/functions_test.cxx with
> > CPPUNIT_ASSERT_DOUBLES_EQUAL(1.0, rDoc.GetValue(1, 2, 0), 1e-14);
> whilst testing sc/qa/unit/data/functions/fods/chiinv.fods. The code
> sc/qa/unit/functions_test.cxx looks to me as though it's performed for all
> these .fods test files so why it should fail on one and not the rest is
> strange indeed.

Ah, finally someone who hopefully can reproduce such error.. ;-)

> Any suggestions on how I can resolve this problem will be appreciated.

Please load that document in your built office instance, i.e.

./instdir/program/soffice ./sc/qa/unit/data/functions/fods/chidist.fods &

answer No to the question whether links should be updated, when loaded
hit Shift+Ctrl+F9 and tell us where / in which cell on the second sheet
(the first sheet is just the summary) it fails, and what the result of
the calculated formula (column A) in that row is.

Do not save the document as it is part of the repository's source tree
and could get committed by accident.

Which platform and compiler are you on btw?


LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160901/05f54462/attachment.sig>

More information about the LibreOffice mailing list