Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hi All

I've pulled from git and git branch says I'm on

* master

first line of AutoGen is
Running ./configure with '--disable-ccache --disable-gtk3 --with-parallelism=3 --without-junit --without-gssapi --without-krb5 --srcdir=/home/master/master --enable-option-checking=fatal'

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.


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

Alex

The error is

Testing file:///home/master/master/sc/qa/unit/data/functions/fods/chidist.fods: Tested file:///home/master/master/sc/qa/unit/data/functions/fods/chidist.fods: Pass (491ms) Testing file:///home/master/master/sc/qa/unit/data/functions/fods/chiinv.fods:
/home/master/master/sc/qa/unit/functions_test.cxx:80:FunctionsTest::testFormulasFODS
double equality assertion failed
- Expected: 1
- Actual  : 0
- Delta   : 1e-14

FunctionsTest::testFormulasFODS finished in: 18129ms
functions_test.cxx:80:Assertion
Test name: FunctionsTest::testFormulasFODS
double equality assertion failed
- Expected: 1
- Actual  : 0
- Delta   : 1e-14

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

Error: a unit test failed, please do one of:
make CppunitTest_sc_functions_test CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make CppunitTest_sc_functions_test VALGRIND=memcheck
    # for memory checking
make CppunitTest_sc_functions_test DEBUGCPPUNIT=TRUE
    # for exception catching

make[1]: *** [/home/master/master/workdir/CppunitTest/sc_functions_test.test] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
Compilation of libreoffice failed with 2 at Wed Aug 31 09:29:33 BST 2016


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.