[Lldb-commits] [lldb] c1bc094 - [TestQuoting] Use the fully qualified path for remote platforms.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 17 10:58:17 PST 2020
Author: Davide Italiano
Date: 2020-01-17T10:57:35-08:00
New Revision: c1bc094f361beede4e88ace8e9761391707ee30b
URL: https://github.com/llvm/llvm-project/commit/c1bc094f361beede4e88ace8e9761391707ee30b
DIFF: https://github.com/llvm/llvm-project/commit/c1bc094f361beede4e88ace8e9761391707ee30b.diff
LOG: [TestQuoting] Use the fully qualified path for remote platforms.
Patch by Jason Molenda, fixes a test failure on arm64 devices.
Added:
Modified:
lldb/packages/Python/lldbsuite/test/commands/settings/quoting/TestQuoting.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/commands/settings/quoting/TestQuoting.py b/lldb/packages/Python/lldbsuite/test/commands/settings/quoting/TestQuoting.py
index 5853313db6ff..d7581951a147 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/settings/quoting/TestQuoting.py
+++ b/lldb/packages/Python/lldbsuite/test/commands/settings/quoting/TestQuoting.py
@@ -74,7 +74,7 @@ def do_test_args(self, args_in, args_out):
local_outfile = self.getBuildArtifact("output.txt")
if lldb.remote_platform:
- remote_outfile = "output.txt" # Relative to platform's PWD
+ remote_outfile = lldb.remote_platform.GetWorkingDirectory() + "/output.txt"
else:
remote_outfile = local_outfile
More information about the lldb-commits
mailing list