[Lldb-commits] [lldb] r263520 - Add some test coverage for the changes in alias help
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 14 18:43:00 PDT 2016
Author: enrico
Date: Mon Mar 14 20:43:00 2016
New Revision: 263520
URL: http://llvm.org/viewvc/llvm-project?rev=263520&view=rev
Log:
Add some test coverage for the changes in alias help
Modified:
lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py?rev=263520&r1=263519&r2=263520&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/help/TestHelp.py Mon Mar 14 20:43:00 2016
@@ -167,6 +167,24 @@ class HelpCommandTestCase(TestBase):
'variable +--'])
@no_debug_info_test
+ def test_help_po_hides_options(self):
+ """Test that 'help po' does not show all the options for expression"""
+ self.expect("help po",
+ substrs = ['--show-all-children', '--object-description'], matching=False)
+
+ @no_debug_info_test
+ def test_help_run_hides_options(self):
+ """Test that 'help run' does not show all the options for process launch"""
+ self.expect("help run",
+ substrs = ['--arch', '--environment'], matching=False)
+
+ @no_debug_info_test
+ def test_help_next_shows_options(self):
+ """Test that 'help next' shows all the options for thread step-over"""
+ self.expect("help next",
+ substrs = ['--python-class','--run-mode'], matching=True)
+
+ @no_debug_info_test
def test_help_provides_alternatives(self):
"""Test that help on commands that don't exist provides information on additional help avenues"""
self.expect("help thisisnotadebuggercommand",
More information about the lldb-commits
mailing list