Enable CppunitTest_sw_odfexport for MACOSX

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 8 May 2018 12:12 EDT

The whole boy of sw/qa/extras/odfexport/odfexport.cxx had been disabled for MACOSX and WNT with effeb7b039bbed5e4eb0c4af1f600b61ffbb4546 "sw/qa: 1 individual unit test per filter (import/export) test", for no clear reason, then enabled again for WNT (but left disabled for MACOSX) with 960db7d4a875897addb8a28257da38138babb264 "CppunitTest_sw_odfexport: enable on Windows".

What fails for me on macOS is

> /Users/stephan/Software/lo/core/test/source/xmltesttools.cxx:71: Assertion > Test name: testEmbeddedFontProps::Import_Export_Import > equality assertion failed > - Expected: 1 > - Actual : 0 > - In , XPath '//style:font-face[@style:name='Liberation Serif']/svg:font-face-src/svg:font-face-uri[1]' number of nodes is incorrect > > /Users/stephan/Software/lo/core/sw/qa/extras/odfexport/odfexport.cxx:1948: Assertion > Test name: testBulletAsImage::Import > equality assertion failed > - Expected: 15 > - Actual : 17 > > /Users/stephan/Software/lo/core/sw/qa/extras/odfexport/odfexport.cxx:1948: Assertion > Test name: testBulletAsImage::Import_Export_Import > equality assertion failed > - Expected: 15 > - Actual : 17 > > Failures !!! > Run: 99 Failure total: 3 Failures: 3 Errors: 0

of which the first was already disabled individually for WNT (so disabled it for MACOSX, too), and the latter two are covered by a new TODO disabling just the relevant CPPUNIT_ASSERT_EQUAL for MACOSX for now.

Change-Id: I233f71dc9566b1e21d34f4ef65cbddb364bb6f03 Reviewed-on: https://gerrit.libreoffice.org/53961

fe192a7b7485 Enable CppunitTest_sw_odfexport for MACOSX
sw/qa/extras/odfexport/odfexport.cxx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share