[Lldb-commits] [lldb] r140393 - /lldb/trunk/test/help/TestHelp.py

Johnny Chen johnny.chen at apple.com
Fri Sep 23 10:57:49 PDT 2011


Author: johnny
Date: Fri Sep 23 12:57:49 2011
New Revision: 140393

URL: http://llvm.org/viewvc/llvm-project?rev=140393&view=rev
Log:
Add a simple test case for 'help watchpoint', 'help watchpt-id', and 'help watchpt-id-list'.

Modified:
    lldb/trunk/test/help/TestHelp.py

Modified: lldb/trunk/test/help/TestHelp.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/help/TestHelp.py?rev=140393&r1=140392&r2=140393&view=diff
==============================================================================
--- lldb/trunk/test/help/TestHelp.py (original)
+++ lldb/trunk/test/help/TestHelp.py Fri Sep 23 12:57:49 2011
@@ -112,6 +112,15 @@
         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





More information about the lldb-commits mailing list