[Libreoffice-commits] core.git: uitest/test_main.py
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 19 08:04:32 UTC 2020
uitest/test_main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fcc30680ee7ac7d2bf9ec4ccdae7256b61ad7102
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Feb 18 21:06:49 2020 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Feb 19 09:03:59 2020 +0100
uitest: make sure UITEST_TEST_NAME matches exactly one test function
So that something like:
make -sr UITest_cui_dialogs UITEST_TEST_NAME="chardlg.Test.testSvxCharEffectsPageWriterAutomatic"
Only executes testSvxCharEffectsPageWriterAutomatic, not
testSvxCharEffectsPageWriter and testSvxCharEffectsPage as well.
Change-Id: I0ed334259634e3b9b0db45d9f8462eb4accc689e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88987
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/uitest/test_main.py b/uitest/test_main.py
index ab173c32476c..e1737947f536 100644
--- a/uitest/test_main.py
+++ b/uitest/test_main.py
@@ -84,7 +84,7 @@ def add_tests_for_file(test_file, test_suite):
for test_name in test_names:
full_name = ".".join([module_name, c.__name__, test_name])
if len(test_name_limit) > 0:
- if not test_name_limit.startswith(full_name):
+ if test_name_limit != full_name:
continue
test_name_limit_found = True
More information about the Libreoffice-commits
mailing list