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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 5 12:26:13 UTC 2019


 sw/Module_sw.mk                |    1 +
 sw/UITest_sw_findSimilarity.mk |   16 ++++++++++++++++
 2 files changed, 17 insertions(+)

New commits:
commit bdc5cfab8106d73af3452155cedf732972bd3a91
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri Apr 5 13:02:02 2019 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Apr 5 14:25:42 2019 +0200

    sw: extract UITest_sw_findSimilarity from UITest_sw_findReplace
    
    I'm not exactly sure how, but in case
    sw/qa/uitest/findReplace/findSimilarity.py and
    sw/qa/uitest/findReplace/findReplace.py are in the same suite, then 3
    tests from the later fail for me.
    
    I don't see anything obviously problematic in either of these tests, so
    just split them to separate suites, these are slow tests after all, so
    more parallelism is good anyway.
    
    (What may happen is that one of the dialogs remember its state in the
    user profile, but then why this doesn't happen for everyone is unclear.)
    
    Change-Id: If11f5b171972422fab5f79a047b1aabb1adee04d
    Reviewed-on: https://gerrit.libreoffice.org/70296
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Jenkins

diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk
index eee1b09e97e6..c5e92e672051 100644
--- a/sw/Module_sw.mk
+++ b/sw/Module_sw.mk
@@ -147,6 +147,7 @@ $(eval $(call gb_Module_add_uicheck_targets,sw,\
 	UITest_writer_tests5 \
 	UITest_table \
 	UITest_sw_findReplace \
+	UITest_sw_findSimilarity \
 	UITest_chapterNumbering \
 	UITest_librelogo \
 	UITest_options \
diff --git a/sw/UITest_sw_findSimilarity.mk b/sw/UITest_sw_findSimilarity.mk
new file mode 100644
index 000000000000..f0bc07e059e3
--- /dev/null
+++ b/sw/UITest_sw_findSimilarity.mk
@@ -0,0 +1,16 @@
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call 	gb_UITest_UITest,sw_findSimilarity))
+
+$(eval $(call gb_UITest_add_modules,sw_findSimilarity,$(SRCDIR)/sw/qa/uitest,\
+	findSimilarity/ \
+))
+
+$(eval $(call gb_UITest_set_defs,sw_findSimilarity, \
+    TDOC="$(SRCDIR)/sw/qa/uitest/writer_tests/data" \
+))
diff --git a/sw/qa/uitest/findReplace/findSimilarity.py b/sw/qa/uitest/findSimilarity/findSimilarity.py
similarity index 100%
rename from sw/qa/uitest/findReplace/findSimilarity.py
rename to sw/qa/uitest/findSimilarity/findSimilarity.py


More information about the Libreoffice-commits mailing list