Cppunit test failing in basic/qa/cppunit

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Sun Nov 29 07:22:02 PST 2015


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 at acca-esse.eu <mailto:giuseppe.castagno at 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


More information about the LibreOffice mailing list