summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-03-03 09:44:46 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2021-03-03 11:02:41 +0100
commitf5c7ec8c99bd7f831fa5e1b00bd5ac01b1a03a8b (patch)
tree33671b62646440bed543574890f46946354cd3cf /sw/qa
parente0c00f30fcc970e838672f58a4027155a2de74dc (diff)
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@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/core/layout/layout.cxx4
1 files changed, 3 insertions, 1 deletions
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"),