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


Hi,

On 11/29/2015 03:36 PM, Markus Mohrhard wrote:
Hey,

On Sun, Nov 29, 2015 at 3:14 PM, Giuseppe Castagno
<giuseppe.castagno@acca-esse.eu <mailto:giuseppe.castagno@acca-esse.eu>>
wrote:

    Hi all,

    Building under Kubuntu 14.04 32 bit I got the following, master is
    f863f70, autogen.lastrun:
...
    test_scanner.cxx:582:Assertion
    Test name: (anonymous namespace)::ScannerTest::testNumbers
    assertion failed
    - Expression: rtl::math::round( symbols[1].number, 12) ==
    rtl::math::round( .3, 12)

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

...

Take the change to line 582 from
https://gerrit.libreoffice.org/#/c/20270/1/basic/qa/cppunit/test_scanner.cxx
and rerun the test. That will give you a better error message. Ideally
we would convert all uses of CPPUNIT_ASSERT in that test to use
CPPUNIT_ASSERT_EQUAL.

message changed, resulting in:

...
/home/beppe/lo-github-beppe/basic/qa/cppunit/test_scanner.cxx:582:(anonymous namespace)::ScannerTest::testNumbers
equality assertion failed
- Expected: 0.3
- Actual  : 0.3

test_scanner.cxx:582:Assertion
Test name: (anonymous namespace)::ScannerTest::testNumbers
equality assertion failed
- Expected: 0.3
- Actual  : 0.3

Failures !!!
....

Regards,
Giuseppe.

--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu

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.