Fix lldbinline tests for remote targets

r326140 exposed the fact that we are not actually running inline tests on
remote targets. The tests fail to launch the inferior in the first place
because they passed an invalid working directory to the launch function.

This should fix that.

llvm-svn: 326264
This commit is contained in:
Pavel Labath 2018-02-27 22:45:49 +00:00
parent 2373f8fcf3
commit 9bdd03f7da
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class InlineTest(TestBase):
parser.parse_source_files(source_files)
parser.set_breakpoints(target)
process = target.LaunchSimple(None, None, self.getBuildDir())
process = target.LaunchSimple(None, None, self.get_process_working_directory())
hit_breakpoints = 0
while lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint):