[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - sw/qa
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 2 06:38:55 UTC 2021
sw/qa/extras/indexing/SearchResultLocatorTest.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit db8f4754e4ffd6ab51697a85a533b7317f620e41
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Jul 26 22:03:12 2021 +0900
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Thu Sep 2 08:38:21 2021 +0200
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 at gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
(cherry picked from commit b4f7a61abe222f874b064076eaec05c371b89c5f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121109
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);
More information about the Libreoffice-commits
mailing list