uitest/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fcc30680ee7ac7d2bf9ec4ccdae7256b61ad7102 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Tue Feb 18 21:06:49 2020 +0100 Commit: Miklos Vajna <vmik...@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 <vmik...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits