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
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 70e496f..5b006ef 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -7,7 +7,7 @@
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 @@
if __name__ == '__main__':
+ lldb.SBDebugger.Initialize()
unittest.main()
+ lldb.SBDebugger.Terminate()