summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-04-05 13:02:02 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-04-05 14:25:42 +0200
commitbdc5cfab8106d73af3452155cedf732972bd3a91 (patch)
treed1a346fa159a87b433ac979d25c32dfd53e4f549
parent7282014e362a1529a36c88eb308df8ed359c2cfa (diff)
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@collabora.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
-rw-r--r--sw/Module_sw.mk1
-rw-r--r--sw/UITest_sw_findSimilarity.mk16
-rw-r--r--sw/qa/uitest/findSimilarity/findSimilarity.py (renamed from sw/qa/uitest/findReplace/findSimilarity.py)0
3 files changed, 17 insertions, 0 deletions
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
index ac5b62fac499..ac5b62fac499 100644
--- a/sw/qa/uitest/findReplace/findSimilarity.py
+++ b/sw/qa/uitest/findSimilarity/findSimilarity.py