From 46885986e3749bedb02c666a958d8c4499c8eecc Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Sat, 12 May 2018 08:11:51 +0200 Subject: Revert "Enable CppunitTest_sw_odfexport for MACOSX" This reverts commit fe192a7b7485379625a4d91ad6e3a9e6280add2c. The mac-mini jenkins buildslaves get stuck on the sw_odfexporttest and ultimately get killed by the build-timeout. Revert to not tempt people into bypassing jenkins alltogether. Change-Id: I6c08657a1957455161882443b88b5d581c888bcf Reviewed-on: https://gerrit.libreoffice.org/54155 Tested-by: Jenkins Reviewed-by: Christian Lohmaier Tested-by: Christian Lohmaier --- sw/qa/extras/odfexport/odfexport.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 00e2081341f0..54addc96a5cb 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -13,6 +13,7 @@ #include +#if !defined(MACOSX) #include #include #include @@ -1847,7 +1848,7 @@ DECLARE_ODFEXPORT_TEST(testImageMimetype, "image-mimetype.odt") DECLARE_ODFEXPORT_TEST(testEmbeddedFontProps, "embedded-font-props.odt") { -#if !defined(MACOSX) && !defined(WNT) +#if !defined(WNT) // Test that font style/weight of embedded fonts is exposed. // Test file is a normal ODT, except EmbedFonts is set to true in settings.xml. if (xmlDocPtr pXmlDoc = parseExport("content.xml")) @@ -1965,10 +1966,8 @@ DECLARE_ODFEXPORT_TEST(testBulletAsImage, "BulletAsImage.odt") Graphic aGraphic(uno::Reference(xBitmap, uno::UNO_QUERY)); CPPUNIT_ASSERT_EQUAL(GraphicType::Bitmap, aGraphic.GetType()); CPPUNIT_ASSERT(aGraphic.GetSizeBytes() > sal_uLong(0)); -#if !defined(MACOSX) //TODO: 17 vs. 15 CPPUNIT_ASSERT_EQUAL(15L, aGraphic.GetSizePixel().Width()); CPPUNIT_ASSERT_EQUAL(15L, aGraphic.GetSizePixel().Height()); -#endif } DECLARE_ODFEXPORT_TEST(testSignatureLineProperties, "signatureline-properties.fodt") @@ -2028,5 +2027,7 @@ DECLARE_ODFEXPORT_TEST(testSpellOutNumberingTypes, "spellout-numberingtypes.odt" } } +#endif + CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit