summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-07-26 22:03:12 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-09-02 08:38:21 +0200
commitdb8f4754e4ffd6ab51697a85a533b7317f620e41 (patch)
tree98956b955f5da633541a2058d3b64d5817dba211 /sw
parentf2f260c97b3483355c9ff6e09add4f88737d74ea (diff)
sw: disable SearchResultLocatorTest for Windows and MacOS
Because of inconsistent reuslts for those 2 platforms for unknown issues, turn the tests off for now. Change-Id: I9b1c8a839d6765d695ed5d9b129c001ffd66ed5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119508 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit b4f7a61abe222f874b064076eaec05c371b89c5f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121109
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/indexing/SearchResultLocatorTest.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/qa/extras/indexing/SearchResultLocatorTest.cxx b/sw/qa/extras/indexing/SearchResultLocatorTest.cxx
index 933c96159a51..e93c36b7fa7a 100644
--- a/sw/qa/extras/indexing/SearchResultLocatorTest.cxx
+++ b/sw/qa/extras/indexing/SearchResultLocatorTest.cxx
@@ -47,7 +47,10 @@ SwDoc* SearchResultLocatorTest::createDoc(const char* pName)
void SearchResultLocatorTest::testSearchResultLocator()
{
-#ifndef MACOSX
+#if !defined(_WIN32) && !defined(MACOSX)
+ if (!IsDefaultDPI())
+ return;
+
SwDoc* pDoc = createDoc("IndexingExport_VariousParagraphs.odt");
CPPUNIT_ASSERT(pDoc);