diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/help/TestHelp.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/help/TestHelp.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/help/TestHelp.py b/lldb/packages/Python/lldbsuite/test/help/TestHelp.py index 4bfbe6ef188..92bb9fa5f21 100644 --- a/lldb/packages/Python/lldbsuite/test/help/TestHelp.py +++ b/lldb/packages/Python/lldbsuite/test/help/TestHelp.py @@ -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", |