CppunitTest_sw_htmlexport failures on Mac (was: Tinderbox failure, MacOSX-10.8 at 21-10.7SDK, MASTER, last success: 2014-09-21 21:55:50)

Stephan Bergmann sbergman at redhat.com
Tue Sep 23 02:30:47 PDT 2014


On 09/23/2014 10:22 AM, nthiebaud at gmail.com wrote:
>   Box name: MacOSX-10.8 at 21-10.7SDK
>   Branch: master
>   "starttime": 1411460403
>   Machine: Darwin Norberts-Mac-mini.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
>   Configured with: --with-external-tar=/lo/lo_external_tar
> --with-macosx-sdk=10.8
> --with-macosx-version-min-required=10.8
> --enable-64-bit
>
>   Commits since the last success:
>
>   ==== core ====
[...]
>    6b894d1  Test HTML export of images & image properties.
[...]
>
>   The error is:
[...]
> HTMLImage.odt,/lo/master_tb/test/source/xmltesttools.cxx:82:testExportImageProperties::Import_Export
> equality assertion failed
> - Expected: 38
> - Actual  : 28
> - Attribute 'hspace' of '/html/body/p/a/font/img' incorrect value.
>
> /lo/master_tb/test/source/xmltesttools.cxx:82: Assertion
> Test name: testExportImageProperties::Import_Export
> equality assertion failed
> - Expected: 38
> - Actual  : 28
> - Attribute 'hspace' of '/html/body/p/a/font/img' incorrect value.

My local Mac builds produce a temp HTML file containing (splitting long 
line for readability)

> <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAANUlEQVR4nGP5z8DACMZAggVENjTUMzQw1jeyHHH1LHij0/BfVYohjWVRaMuZWenpJj3GDDMB6XsTR5MjLpgAAAAASUVORK5CYII="
>   name="Text" alt="Four colors" align="middle" hspace="43" vspace="22"
>   width="254" height="254" border="3" usemap="#map1"/>

where none of the hspace, vspace, width, and height attributes' values 
match the expected values from sw/qa/extras/htmlexport/htmlexport.cxx.

Tomaž, can you have a look what's going on there, whether the test code 
or the code under test needs to be adapted?

Stephan


More information about the LibreOffice mailing list