From 9bdd03f7da67b60a099237e4885c10d70ff30a7c Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 27 Feb 2018 22:45:49 +0000 Subject: [PATCH] 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 --- lldb/packages/Python/lldbsuite/test/lldbinline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py index 036bb2939520..31b4e474047a 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbinline.py +++ b/lldb/packages/Python/lldbsuite/test/lldbinline.py @@ -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):