[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - sw/qa

Rene Engelhard (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 2 09:46:04 UTC 2020


 sw/qa/extras/layout/layout.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 67305403739786e0427b807dee10dcfe7d6f153b
Author:     Rene Engelhard <rene at debian.org>
AuthorDate: Wed Jul 1 20:42:49 2020 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Jul 2 11:45:31 2020 +0200

    disable testTdf122225 with --without-fonts
    
    Change-Id: I498da0b45b281005c72bfe47c822b0a4798e884b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97586
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 0d222efbad6b..d5b88bd285d3 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -36,6 +36,8 @@
 #include <frmatr.hxx>
 #include <IDocumentSettingAccess.hxx>
 
+#include <config_features.h>
+
 static char const DATA_DIRECTORY[] = "/sw/qa/extras/layout/data/";
 
 /// Test to assert layout / rendering result of Writer.
@@ -2289,6 +2291,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf131707)
     assertXPath(pXmlDoc, "//body/tab/row[3]/cell[2]/txt/anchored/fly/infos/bounds", "top", "2185");
 }
 
+#if HAVE_MORE_FONTS
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf122225)
 {
     SwDoc* pDoc = createDoc("tdf122225.docx");
@@ -2305,6 +2308,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf122225)
                        "Advanced Diploma");
     // This failed, if the legend label is not "Advanced Diploma".
 }
+#endif
 
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testTdf125335)
 {


More information about the Libreoffice-commits mailing list