From 6ca006c7c13da67cd3aa19c2067e6990ac97c8d8 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 16 Aug 2010 21:28:10 +0000 Subject: 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 --- lldb/test/help/TestHelp.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'lldb/test/help/TestHelp.py') 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'), -- cgit v1.2.3