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
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to