This revision was automatically updated to reflect the committed changes. Closed by commit rGae7a3e1c1d3e: [test][lldb-vscode] Un-realpath coreFile test. (authored by rupprecht).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D138345/new/ https://reviews.llvm.org/D138345 Files: lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py Index: lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py =================================================================== --- lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py +++ lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py @@ -17,7 +17,7 @@ @skipIfRemote @skipIfLLVMTargetMissing("X86") def test_core_file(self): - current_dir = os.path.dirname(os.path.realpath(__file__)) + current_dir = os.path.dirname(__file__) exe_file = os.path.join(current_dir, "linux-x86_64.out") core_file = os.path.join(current_dir, "linux-x86_64.core") @@ -44,7 +44,7 @@ @skipIfLLVMTargetMissing("X86") def test_core_file_source_mapping(self): ''' Test that sourceMap property is correctly applied when loading a core ''' - current_dir = os.path.dirname(os.path.realpath(__file__)) + current_dir = os.path.dirname(__file__) exe_file = os.path.join(current_dir, "linux-x86_64.out") core_file = os.path.join(current_dir, "linux-x86_64.core")
Index: lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py =================================================================== --- lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py +++ lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py @@ -17,7 +17,7 @@ @skipIfRemote @skipIfLLVMTargetMissing("X86") def test_core_file(self): - current_dir = os.path.dirname(os.path.realpath(__file__)) + current_dir = os.path.dirname(__file__) exe_file = os.path.join(current_dir, "linux-x86_64.out") core_file = os.path.join(current_dir, "linux-x86_64.core") @@ -44,7 +44,7 @@ @skipIfLLVMTargetMissing("X86") def test_core_file_source_mapping(self): ''' Test that sourceMap property is correctly applied when loading a core ''' - current_dir = os.path.dirname(os.path.realpath(__file__)) + current_dir = os.path.dirname(__file__) exe_file = os.path.join(current_dir, "linux-x86_64.out") core_file = os.path.join(current_dir, "linux-x86_64.core")
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits