[Lldb-commits] [lldb] r345351 - Update test that checks auto-completion for settings set.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 25 17:50:54 PDT 2018
Author: jdevlieghere
Date: Thu Oct 25 17:50:54 2018
New Revision: 345351
URL: http://llvm.org/viewvc/llvm-project?rev=345351&view=rev
Log:
Update test that checks auto-completion for settings set.
This reverts r345350 and updates the test rather than removing it. Now
we check that `--g` auto-completes to `--global`.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py?rev=345351&r1=345350&r2=345351&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py Thu Oct 25 17:50:54 2018
@@ -175,6 +175,11 @@ class CommandLineCompletionTestCase(Test
self.complete_from_to('settings set thread-f', 'settings set thread-format')
@skipIfFreeBSD # timing out on the FreeBSD buildbot
+ def test_settings_s_dash(self):
+ """Test that 'settings set --g' completes to 'settings set --global'."""
+ self.complete_from_to('settings set --g', 'settings set --global')
+
+ @skipIfFreeBSD # timing out on the FreeBSD buildbot
def test_settings_clear_th(self):
"""Test that 'settings clear thread-f' completes to 'settings clear thread-format'."""
self.complete_from_to(
More information about the lldb-commits
mailing list