[Lldb-commits] [PATCH] D65432: [lldb] [test/lldb-vscode] Use realpath to match vscode behavior
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 30 00:46:58 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL367291: [lldb] [test/lldb-vscode] Use realpath to match vscode behavior (authored by mgorny, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D65432?vs=212280&id=212283#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65432/new/
https://reviews.llvm.org/D65432
Files:
lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
Index: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -68,7 +68,8 @@
directory.
'''
program = self.getBuildArtifact("a.out")
- program_parent_dir = os.path.dirname(os.path.dirname(program))
+ program_parent_dir = os.path.realpath(
+ os.path.dirname(os.path.dirname(program)))
self.build_and_launch(program,
cwd=program_parent_dir)
self.continue_to_exit()
@@ -96,7 +97,8 @@
the lldb-vscode debug adaptor.
'''
program = self.getBuildArtifact("a.out")
- program_parent_dir = os.path.dirname(os.path.dirname(program))
+ program_parent_dir = os.path.realpath(
+ os.path.dirname(os.path.dirname(program)))
commands = ['platform shell echo cwd = $PWD']
self.build_and_launch(program,
debuggerRoot=program_parent_dir,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65432.212283.patch
Type: text/x-patch
Size: 1216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190730/30be1645/attachment.bin>
More information about the lldb-commits
mailing list