mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
Add some delay before calling SBDebugger.Terminate().
llvm-svn: 107221
This commit is contained in:
parent
cb9b857959
commit
94a6899e23
@ -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()
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user