summaryrefslogtreecommitdiffstats
path: root/lldb/test/help/TestHelp.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-09-23 17:57:49 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-09-23 17:57:49 +0000
commit84128e640dcd40a7cb4fefe45a626c021e39997f (patch)
treede7d21d86236025ffdfee357947975ff2d25ebe8 /lldb/test/help/TestHelp.py
parent825815fbafdd4625cfb0ef9e157e27be9efa415b (diff)
downloadbcm5719-llvm-84128e640dcd40a7cb4fefe45a626c021e39997f.tar.gz
bcm5719-llvm-84128e640dcd40a7cb4fefe45a626c021e39997f.zip
Add a simple test case for 'help watchpoint', 'help watchpt-id', and 'help watchpt-id-list'.
llvm-svn: 140393
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r--lldb/test/help/TestHelp.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 73e059ab432..95bf8167a74 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -112,6 +112,15 @@ class HelpCommandTestCase(TestBase):
self.expect("help target variable",
substrs = ['<variable-name> [<variable-name> [...]]'])
+ def test_help_watchpoint_and_its_args(self):
+ """Command 'help watchpoint', 'help watchpt-id', and 'help watchpt-id-list' should work."""
+ self.expect("help watchpoint",
+ substrs = ['delete', 'disable', 'enable', 'list'])
+ self.expect("help watchpt-id",
+ substrs = ['<watchpt-id>'])
+ self.expect("help watchpt-id-list",
+ substrs = ['<watchpt-id-list>'])
+
if __name__ == '__main__':
import atexit
OpenPOWER on IntegriCloud