summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-10-26 00:50:54 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-10-26 00:50:54 +0000
commita2a2f2efbad44494bb13edf9b88f71247fecd098 (patch)
tree6bc551f57e24edb88cec5bc7ce976361c95d34e0 /lldb/packages/Python/lldbsuite
parent81fec4299d5303072210db32b0c3776d09fa9dac (diff)
downloadbcm5719-llvm-a2a2f2efbad44494bb13edf9b88f71247fecd098.tar.gz
bcm5719-llvm-a2a2f2efbad44494bb13edf9b88f71247fecd098.zip
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`. llvm-svn: 345351
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
index 83b43d4fa94..c073425a93f 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
@@ -175,6 +175,11 @@ class CommandLineCompletionTestCase(TestBase):
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(
OpenPOWER on IntegriCloud