LibreOffice for FreeBSD on PowerPC

Kaganski Mike mikekaganski at hotmail.com
Sun Nov 20 20:58:05 UTC 2016


Hi Curtis,

11/20/2016 4:46 AM, Curtis Hamilton пишет:
I've tried building 5.2 with the suggested options disabled.  Everything seems to go okay until the module tests start.  Below is what I get:

[CUT] binaryurp_test-cache
/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/basegfx2d.cxx:145:basegfx2d::b2dsvgdimpex::impex
assertion failed
- Expression: aExport.equalsAscii(sExportString)
- exporting rectangle to SVG-D

/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/basegfx2d.cxx:825:basegfx2d::b2dpolygontools::testIsRectangle
assertion failed
- Expression: tools::isRectangle( aRect1 )
- checking rectangle-ness of rectangle 1

AFAICS, you have expected problems porting to a new platform. The unit tests fail, and you need to investigate the cause and fix them to move to next failing unit tests :)

...

basegfx2d.cxx:145:Assertion
Test name: basegfx2d::b2dsvgdimpex::impex
assertion failed
- Expression: aExport.equalsAscii(sExportString)
- exporting rectangle to SVG-D

You may try to replace lines like
        CPPUNIT_ASSERT_MESSAGE("exporting rectangle to SVG-D",
                               aExport.equalsAscii(sExportString) );

with that:
        CPPUNIT_ASSERT_EQUAL_MESSAGE("exporting rectangle to SVG-D", OUString("m10 10h-20v-20h20z"), // contents of sExportString
                               aExport);

to enrich the assertion output.

--
Best regards,
Mike Kaganski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20161120/60237d9e/attachment.html>


More information about the LibreOffice mailing list