summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_script/TestCommandScript.py
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-03-13 22:22:28 +0000
committerEnrico Granata <egranata@apple.com>2015-03-13 22:22:28 +0000
commit6f79bb2d57218e2bd11bf26876d49a1276328bd3 (patch)
tree8e1121c0e0e91538662d0d8b34ac329053ebc14c /lldb/test/functionalities/command_script/TestCommandScript.py
parente7ce9ec398103c59b18993ef637fd1aab32c0710 (diff)
downloadbcm5719-llvm-6f79bb2d57218e2bd11bf26876d49a1276328bd3.tar.gz
bcm5719-llvm-6f79bb2d57218e2bd11bf26876d49a1276328bd3.zip
Add support for Python object commands to return custom short and long help by implementing
def get_short_help(self) def get_long_help(self) methods on the command object Also, add a test case for this feature llvm-svn: 232224
Diffstat (limited to 'lldb/test/functionalities/command_script/TestCommandScript.py')
-rw-r--r--lldb/test/functionalities/command_script/TestCommandScript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/command_script/TestCommandScript.py b/lldb/test/functionalities/command_script/TestCommandScript.py
index 9c1183aaa13..b7e466d2403 100644
--- a/lldb/test/functionalities/command_script/TestCommandScript.py
+++ b/lldb/test/functionalities/command_script/TestCommandScript.py
@@ -119,7 +119,7 @@ class CmdPythonTestCase(TestBase):
self.runCmd("command script clear")
# Test that re-defining an existing command works
- self.runCmd('command script add my_command --function welcome.welcome_impl')
+ self.runCmd('command script add my_command --class welcome.WelcomeCommand')
self.expect('my_command Blah', substrs = ['Hello Blah, welcome to LLDB'])
self.runCmd('command script add my_command --function welcome.target_name_impl')
OpenPOWER on IntegriCloud