diff options
Diffstat (limited to 'lldb/test')
| -rw-r--r-- | lldb/test/functionalities/command_script/welcome.py | 7 | ||||
| -rw-r--r-- | lldb/test/help/TestHelp.py | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lldb/test/functionalities/command_script/welcome.py b/lldb/test/functionalities/command_script/welcome.py index b6340990e78..b7e8072aeeb 100644 --- a/lldb/test/functionalities/command_script/welcome.py +++ b/lldb/test/functionalities/command_script/welcome.py @@ -13,7 +13,9 @@ def target_name_impl(debugger, args, result, dict): file = target.GetExecutable() print >>result, ('Current target ' + file.GetFilename()) if args == 'fail': - result.SetError('a test for error in command') + return 'a test for error in command' + else: + return None def print_wait_impl(debugger, args, result, dict): result.SetImmediateOutputFile(sys.stdout) @@ -23,10 +25,11 @@ def print_wait_impl(debugger, args, result, dict): print >>result, ('Still doing long task..') time.sleep(1) print >>result, ('Done; if you saw the delays I am doing OK') + return None def check_for_synchro(debugger, args, result, dict): if debugger.GetAsync() == True: print >>result, ('I am running async') if debugger.GetAsync() == False: print >>result, ('I am running sync') - + return None diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py index 54d10ba49db..5dfc1ff9b2a 100644 --- a/lldb/test/help/TestHelp.py +++ b/lldb/test/help/TestHelp.py @@ -124,7 +124,7 @@ class HelpCommandTestCase(TestBase): """Command 'help image du line' is not ambiguous and should work.""" # 'image' is an alias for 'target modules'. self.expect("help image du line", - substrs = ['Dump the line table for one or more compilation units']) + substrs = ['Dump the debug symbol file for one or more target modules']) def test_help_target_variable_syntax(self): """Command 'help target variable' should display <variable-name> ...""" |

