diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-03-02 23:43:17 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-03-02 23:27:03 +0000 |
commit | cedac0b9b0e4e10ad6ca468a804855c35fd52477 (patch) | |
tree | 6d554d7a1eb16ee93d8d65acbb9792ba68df6737 | |
parent | 103efac8110be7e6f42fffcecc74abdcae4df7f9 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sw/qa/extras/ww8export/ww8export.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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 <view.hxx> #include <wrtsh.hxx> +#include <config_test.h> + #include <bordertest.hxx> #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<sal_Int32>(-1), parseDump("/root/page/body/txt[24]/Special[2]","rText").indexOf("Reference source not found")); } +#endif DECLARE_WW8EXPORT_TEST(testTdf99100, "tdf99100.doc") { |