summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/event/TestEvents.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/event/TestEvents.py')
-rw-r--r--lldb/test/python_api/event/TestEvents.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py
index 64e95ea3c3c..bb2636c71d8 100644
--- a/lldb/test/python_api/event/TestEvents.py
+++ b/lldb/test/python_api/event/TestEvents.py
@@ -75,7 +75,7 @@ class EventAPITestCase(TestBase):
breakpoint = target.BreakpointCreateByName('c', 'a.out')
# Now launch the process, and do not stop at the entry point.
- process = target.LaunchSimple(None, None, os.getcwd())
+ process = target.LaunchSimple (None, None, self.get_process_working_directory())
self.assertTrue(process.GetState() == lldb.eStateStopped,
PROCESS_STOPPED)
@@ -213,7 +213,7 @@ class EventAPITestCase(TestBase):
VALID_BREAKPOINT)
# Now launch the process, and do not stop at the entry point.
- process = target.LaunchSimple(None, None, os.getcwd())
+ process = target.LaunchSimple (None, None, self.get_process_working_directory())
self.assertTrue(process.GetState() == lldb.eStateStopped,
PROCESS_STOPPED)
OpenPOWER on IntegriCloud