From cedac0b9b0e4e10ad6ca468a804855c35fd52477 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 2 Mar 2017 23:43:17 +0100 Subject: the test seems to depend on our bundled fonts Try to fix the "RandomConfig" tinderbox when --with-fonts=no is selected. E.g. run #255 Change-Id: Ie43953ad1511cd00bdc82717211f61edefa64b12 Reviewed-on: https://gerrit.libreoffice.org/34839 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- sw/qa/extras/ww8export/ww8export.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sw/qa') diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx index 14d302007758..98ce4769803c 100644 --- a/sw/qa/extras/ww8export/ww8export.cxx +++ b/sw/qa/extras/ww8export/ww8export.cxx @@ -46,6 +46,8 @@ #include #include +#include + #include #define convertTwipToMm100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) @@ -597,6 +599,7 @@ DECLARE_WW8EXPORT_TEST(testLayoutHanging, "fdo68967.doc") // This must not hang in layout } +#if !TEST_FONTS_MISSING DECLARE_WW8EXPORT_TEST(testfdo68963, "fdo68963.doc") { // The problem was that the text was not displayed. @@ -605,6 +608,7 @@ DECLARE_WW8EXPORT_TEST(testfdo68963, "fdo68963.doc") // all crossreference bookmarks should have a target. Shouldn't be any "Reference source not found" in the xml CPPUNIT_ASSERT_EQUAL(static_cast(-1), parseDump("/root/page/body/txt[24]/Special[2]","rText").indexOf("Reference source not found")); } +#endif DECLARE_WW8EXPORT_TEST(testTdf99100, "tdf99100.doc") { -- cgit