[Lldb-commits] [lldb] d5677b6 - [lldb] Fixed TestTargetCommand.py in case of Windows host and Linux target (#115470)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 8 06:12:03 PST 2024
Author: Dmitry Vasilyev
Date: 2024-11-08T18:11:59+04:00
New Revision: d5677b630d0faf38e2e92797415ff80676f86063
URL: https://github.com/llvm/llvm-project/commit/d5677b630d0faf38e2e92797415ff80676f86063
DIFF: https://github.com/llvm/llvm-project/commit/d5677b630d0faf38e2e92797415ff80676f86063.diff
LOG: [lldb] Fixed TestTargetCommand.py in case of Windows host and Linux target (#115470)
Fixed TestTargetCommand.py in case of Windows host and Linux target.
Added:
Modified:
lldb/test/API/commands/target/basic/TestTargetCommand.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/target/basic/TestTargetCommand.py b/lldb/test/API/commands/target/basic/TestTargetCommand.py
index cb7a5f33f6643e..953b59d729bfab 100644
--- a/lldb/test/API/commands/target/basic/TestTargetCommand.py
+++ b/lldb/test/API/commands/target/basic/TestTargetCommand.py
@@ -417,7 +417,7 @@ def test_target_create_nonexistent_core_file(self):
)
# Write only files don't seem to be supported on Windows.
- @skipIfWindows
+ @skipIf(hostoslist=["windows"])
@no_debug_info_test
def test_target_create_unreadable_core_file(self):
tf = tempfile.NamedTemporaryFile()
@@ -440,7 +440,7 @@ def test_target_create_nonexistent_sym_file(self):
],
)
- @skipIfWindows
+ @skipIf(hostoslist=["windows"])
@no_debug_info_test
def test_target_create_invalid_core_file(self):
invalid_core_path = os.path.join(self.getSourceDir(), "invalid_core_file")
@@ -451,7 +451,7 @@ def test_target_create_invalid_core_file(self):
)
# Write only files don't seem to be supported on Windows.
- @skipIfWindows
+ @skipIf(hostoslist=["windows"])
@no_debug_info_test
def test_target_create_unreadable_sym_file(self):
tf = tempfile.NamedTemporaryFile()
More information about the lldb-commits
mailing list