From 272ae4df7cac3fbfe8b850c9552e6e32a6867fd0 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 19 Apr 2011 19:25:37 +0000 Subject: Converted to use SBProcess.LaunchSimple(). llvm-svn: 129789 --- lldb/test/python_api/event/TestEvents.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lldb/test/python_api/event/TestEvents.py') diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py index 624cb0c5369..8bd3afd58d9 100644 --- a/lldb/test/python_api/event/TestEvents.py +++ b/lldb/test/python_api/event/TestEvents.py @@ -122,8 +122,7 @@ class EventAPITestCase(TestBase): VALID_BREAKPOINT) # Now launch the process, and do not stop at the entry point. - error = lldb.SBError() - self.process = target.Launch (self.dbg.GetListener(), None, None, os.ctermid(), os.ctermid(), os.ctermid(), None, 0, False, error) + self.process = target.LaunchSimple(None, None, os.getcwd()) self.process = target.GetProcess() self.assertTrue(self.process.GetState() == lldb.eStateStopped, -- cgit v1.2.3