Add some delay before calling SBDebugger.Terminate().

llvm-svn: 107221
This commit is contained in:
Johnny Chen 2010-06-29 23:17:15 +00:00
parent cb9b857959
commit 94a6899e23
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,7 @@ working directory is searched if nothing is specified on the command line.
import os
import sys
import time
import unittest
#
@ -142,4 +143,6 @@ lldb.SBDebugger.Initialize()
unittest.TextTestRunner(verbosity=verbose).run(suite)
# Add some delay before calling SBDebugger.Terminate().
time.sleep(1)
lldb.SBDebugger.Terminate()

View File

@ -31,7 +31,7 @@ class TestHelpCommand(unittest.TestCase):
'The following is a list of built-in, permanent debugger commands'))
def test_help_should_not_hang_emacsshell(self):
"""'set term-width 0' should not hang the help command."""
"""Command 'set term-width 0' should not hang the help command."""
res = lldb.SBCommandReturnObject()
self.ci.HandleCommand("set term-width 0", res)
self.assertTrue(res.Succeeded())