summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2016-05-02 21:28:40 +0000
committerEnrico Granata <egranata@apple.com>2016-05-02 21:28:40 +0000
commit0a9948534107b247f93420076a7f5b765e31d00c (patch)
tree766dc58a18addd3028461c7fc07b446b2d911583 /lldb/packages/Python/lldbsuite/test
parent6bbd78df6f39e2ede1d4898b85e3e66c78474ff3 (diff)
downloadbcm5719-llvm-0a9948534107b247f93420076a7f5b765e31d00c.tar.gz
bcm5719-llvm-0a9948534107b247f93420076a7f5b765e31d00c.zip
Fix an issue where the apropos command would not print fully qualified command names for nested command objects
rdar://problem/26020072 llvm-svn: 268309
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/help/TestApropos.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/help/TestApropos.py b/lldb/packages/Python/lldbsuite/test/help/TestApropos.py
new file mode 100644
index 00000000000..7b2e69938a0
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/help/TestApropos.py
@@ -0,0 +1,22 @@
+"""
+Test some lldb apropos commands.
+"""
+
+from __future__ import print_function
+
+
+
+import os, time
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+class AproposCommandTestCase(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+
+ @no_debug_info_test
+ def test_apropos_variable(self):
+ """Test that 'apropos variable' prints the fully qualified command name"""
+ self.expect('apropos variable', substrs=['frame variable', 'target variable', 'watchpoint set variable'])
OpenPOWER on IntegriCloud