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,
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,
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits