diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-08-16 21:28:10 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-08-16 21:28:10 +0000 |
commit | 6ca006c7c13da67cd3aa19c2067e6990ac97c8d8 (patch) | |
tree | 77f90da83646be67cd1fce51ba3622ad60587829 /lldb/test/help/TestHelp.py | |
parent | df239670d403fb18a338f1a47ad1326e4a3b9a73 (diff) | |
download | bcm5719-llvm-6ca006c7c13da67cd3aa19c2067e6990ac97c8d8.tar.gz bcm5719-llvm-6ca006c7c13da67cd3aa19c2067e6990ac97c8d8.zip |
Factored the "continue" command execution of the inferior process as part of the
cleanup before finish into the test fixture in lldbtest.TestBase.tearDown().
Derivatives of TestBase is responsible for setting self.runStarted to True if an
inferior process has been started.
llvm-svn: 111188
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r-- | lldb/test/help/TestHelp.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py index e0782d667bb..1989eb57151 100644 --- a/lldb/test/help/TestHelp.py +++ b/lldb/test/help/TestHelp.py @@ -17,7 +17,6 @@ class TestHelpCommand(TestBase): """A simple test of 'help' command and its output.""" res = lldb.SBCommandReturnObject() self.ci.HandleCommand("help", res) - #time.sleep(0.1) self.assertTrue(res.Succeeded()) self.assertTrue(res.GetOutput().startswith( 'The following is a list of built-in, permanent debugger commands'), @@ -27,10 +26,8 @@ class TestHelpCommand(TestBase): """Command 'set term-width 0' should not hang the help command.""" res = lldb.SBCommandReturnObject() self.ci.HandleCommand("set term-width 0", res) - #time.sleep(0.1) self.assertTrue(res.Succeeded(), CMD_MSG('set term-width 0')) self.ci.HandleCommand("help", res) - #time.sleep(0.1) self.assertTrue(res.Succeeded()) self.assertTrue(res.GetOutput().startswith( 'The following is a list of built-in, permanent debugger commands'), |