[Lldb-commits] [lldb] 2ccfb99 - [lldb] Fix term settings completion tests (#139447)
via lldb-commits
lldb-commits at lists.llvm.org
Sun May 11 14:47:24 PDT 2025
Author: Emmanuel Ferdman
Date: 2025-05-11T14:47:21-07:00
New Revision: 2ccfb99d81d9fa9be6b0be02649d987106797979
URL: https://github.com/llvm/llvm-project/commit/2ccfb99d81d9fa9be6b0be02649d987106797979
DIFF: https://github.com/llvm/llvm-project/commit/2ccfb99d81d9fa9be6b0be02649d987106797979.diff
LOG: [lldb] Fix term settings completion tests (#139447)
# PR Summary
Small PR - Several test functions for `term-width/height` completions
had identical names, causing silent overriding. This gives them distinct
_width/_height suffixes to ensure all tests run.
Signed-off-by: Emmanuel Ferdman <emmanuelferdman at gmail.com>
Added:
Modified:
lldb/test/API/functionalities/completion/TestCompletion.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py
index bf043c795fac6..e7c53729f2090 100644
--- a/lldb/test/API/functionalities/completion/TestCompletion.py
+++ b/lldb/test/API/functionalities/completion/TestCompletion.py
@@ -334,22 +334,22 @@ def test_settings_replace_target_ru(self):
"settings replace target.ru", "settings replace target.run-args"
)
- def test_settings_show_term(self):
+ def test_settings_show_term_width(self):
self.complete_from_to("settings show term-w", "settings show term-width")
- def test_settings_list_term(self):
+ def test_settings_list_term_width(self):
self.complete_from_to("settings list term-w", "settings list term-width")
- def test_settings_show_term(self):
+ def test_settings_show_term_height(self):
self.complete_from_to("settings show term-h", "settings show term-height")
- def test_settings_list_term(self):
+ def test_settings_list_term_height(self):
self.complete_from_to("settings list term-h", "settings list term-height")
- def test_settings_remove_term(self):
+ def test_settings_remove_term_width(self):
self.complete_from_to("settings remove term-w", "settings remove term-width")
- def test_settings_remove_term(self):
+ def test_settings_remove_term_height(self):
self.complete_from_to("settings remove term-h", "settings remove term-height")
def test_settings_s(self):
More information about the lldb-commits
mailing list