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


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

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.