summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/c/anonymous/TestAnonymous.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/c/anonymous/TestAnonymous.py')
-rw-r--r--lldb/test/lang/c/anonymous/TestAnonymous.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lang/c/anonymous/TestAnonymous.py b/lldb/test/lang/c/anonymous/TestAnonymous.py
index 7cfb364061d..93f232a36bb 100644
--- a/lldb/test/lang/c/anonymous/TestAnonymous.py
+++ b/lldb/test/lang/c/anonymous/TestAnonymous.py
@@ -162,7 +162,7 @@ class AnonymousTestCase(TestBase):
break_in_main = target.BreakpointCreateBySourceRegex ('// Set breakpoint 2 here.', lldb.SBFileSpec("main.c"))
self.assertTrue(break_in_main, VALID_BREAKPOINT)
- process = target.LaunchSimple (None, None, os.getcwd())
+ process = target.LaunchSimple (None, None, self.get_process_working_directory())
self.assertTrue (process, PROCESS_IS_VALID)
threads = lldbutil.get_threads_stopped_at_breakpoint (process, break_in_main)
OpenPOWER on IntegriCloud