Skip to content

Commit d5677b6

Browse files
authored
[lldb] Fixed TestTargetCommand.py in case of Windows host and Linux target (#115470)
Fixed TestTargetCommand.py in case of Windows host and Linux target.
1 parent 844fe8f commit d5677b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/test/API/commands/target/basic/TestTargetCommand.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def test_target_create_nonexistent_core_file(self):
417417
)
418418

419419
# Write only files don't seem to be supported on Windows.
420-
@skipIfWindows
420+
@skipIf(hostoslist=["windows"])
421421
@no_debug_info_test
422422
def test_target_create_unreadable_core_file(self):
423423
tf = tempfile.NamedTemporaryFile()
@@ -440,7 +440,7 @@ def test_target_create_nonexistent_sym_file(self):
440440
],
441441
)
442442

443-
@skipIfWindows
443+
@skipIf(hostoslist=["windows"])
444444
@no_debug_info_test
445445
def test_target_create_invalid_core_file(self):
446446
invalid_core_path = os.path.join(self.getSourceDir(), "invalid_core_file")
@@ -451,7 +451,7 @@ def test_target_create_invalid_core_file(self):
451451
)
452452

453453
# Write only files don't seem to be supported on Windows.
454-
@skipIfWindows
454+
@skipIf(hostoslist=["windows"])
455455
@no_debug_info_test
456456
def test_target_create_unreadable_sym_file(self):
457457
tf = tempfile.NamedTemporaryFile()

0 commit comments

Comments
 (0)