summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-02-27 22:45:49 +0000
committerPavel Labath <labath@google.com>2018-02-27 22:45:49 +0000
commit9bdd03f7da67b60a099237e4885c10d70ff30a7c (patch)
tree96be2c4e7f84d730c6fb6beba5ff06aacb1ffe35 /lldb/packages/Python/lldbsuite/test
parent2373f8fcf3a4eae520228e2e753575953954f3dc (diff)
downloadbcm5719-llvm-9bdd03f7da67b60a099237e4885c10d70ff30a7c.tar.gz
bcm5719-llvm-9bdd03f7da67b60a099237e4885c10d70ff30a7c.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbinline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py
index 036bb293952..31b4e474047 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):
OpenPOWER on IntegriCloud