summaryrefslogtreecommitdiffstats
path: root/lldb/test/help/TestHelp.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-06-29 19:44:16 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-06-29 19:44:16 +0000
commit4657be6e63b38bd44aff0e2f71267915b6aab51a (patch)
treee1b00d76a1caa6b9b94209c6a931b0bdda76c43d /lldb/test/help/TestHelp.py
parentc048c52734ec9ca4e58a7c2ebc5510e423f32ebe (diff)
downloadbcm5719-llvm-4657be6e63b38bd44aff0e2f71267915b6aab51a.tar.gz
bcm5719-llvm-4657be6e63b38bd44aff0e2f71267915b6aab51a.zip
For the time being, let's bracket the test runner within the
lldb.SBDebugger.Initialize()/Terminate() pair. Change TestHelp.py to use synchronous debugging, which is easier to work with. llvm-svn: 107198
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r--lldb/test/help/TestHelp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 70e496fde55..5b006efab8b 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -7,7 +7,7 @@ class TestHelpCommand(unittest.TestCase):
def setUp(self):
self.debugger = lldb.SBDebugger.Create()
- self.debugger.SetAsync(True)
+ self.debugger.SetAsync(False)
self.ci = self.debugger.GetCommandInterpreter()
if not self.ci:
raise Exception('Could not get the command interpreter')
@@ -37,4 +37,6 @@ class TestHelpCommand(unittest.TestCase):
if __name__ == '__main__':
+ lldb.SBDebugger.Initialize()
unittest.main()
+ lldb.SBDebugger.Terminate()
OpenPOWER on IntegriCloud