[Libreoffice-commits] core.git: sw/qa

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 3 10:03:20 UTC 2021


 sw/qa/core/layout/layout.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f5c7ec8c99bd7f831fa5e1b00bd5ac01b1a03a8b
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Wed Mar 3 09:44:46 2021 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Mar 3 11:02:41 2021 +0100

    Disable this test also on Windows for now
    
    It fails on CI (https://ci.libreoffice.org/job/gerrit_windows/90110/console),
    and also for me locally. The unexpected value is not because of
    DPI, since I tested with standard scaling locally.
    
    Change-Id: If473598df89e49c22c7338398f827f504189de5b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111876
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sw/qa/core/layout/layout.cxx b/sw/qa/core/layout/layout.cxx
index 7cd052725639..59af4962263f 100644
--- a/sw/qa/core/layout/layout.cxx
+++ b/sw/qa/core/layout/layout.cxx
@@ -360,7 +360,9 @@ CPPUNIT_TEST_FIXTURE(SwCoreLayoutTest, testGutterMirrorMargin)
 CPPUNIT_TEST_FIXTURE(SwCoreLayoutTest, testGutterMarginPageBorder)
 {
 // FIXME this is 3369 on macOS -- calculate this number dynamically?
-#if !defined(MACOSX)
+// FIXME this is random on Windows at the moment (in two subsequent tests without any scaling,
+//       the actual values were 6346, 10066) - something broke metafile generation on Windows?
+#if !defined(MACOSX) && !defined(_WIN32)
     // Given a document with a non-0 gutter margin.
     SwDoc* pDoc = createSwDoc();
     uno::Reference<beans::XPropertySet> xStandard(getStyles("PageStyles")->getByName("Standard"),


More information about the Libreoffice-commits mailing list