Skip to content

Commit 400b6f2

Browse files
committed
[lldb/Test] Add skipIfReproducer for tests that are not expected to work
Some tests are not expected to work with reproducers, for example tests that completely circumvent the reproducers (i.e. using the side_effects Python module) or that rely on changes to the file system.
1 parent 67c6b80 commit 400b6f2

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ class BreakpointCommandTestCase(TestBase):
1717
mydir = TestBase.compute_mydir(__file__)
1818

1919
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
20+
@skipIfReproducer # side_effect bypasses reproducer
2021
def not_test_breakpoint_command_sequence(self):
2122
"""Test a sequence of breakpoint command add, list, and delete."""
2223
self.build()
2324
self.breakpoint_command_sequence()
2425

2526
@skipIf(oslist=["windows"], bugnumber="llvm.org/pr44431")
27+
@skipIfReproducer # side_effect bypasses reproducer
2628
def test_script_parameters(self):
2729
"""Test a sequence of breakpoint command add, list, and delete."""
2830
self.build()

lldb/test/API/functionalities/inferior-changed/TestInferiorChanged.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class ChangedInferiorTestCase(TestBase):
1616

1717
@skipIf(hostoslist=["windows"])
1818
@no_debug_info_test
19+
@skipIfReproducer # VFS is a snapshot.
1920
def test_inferior_crashing(self):
2021
"""Test lldb reloads the inferior after it was changed during the session."""
2122
self.build()

lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class TestClangModuleUpdate(TestBase):
1414

1515
@skipUnlessDarwin
1616
@skipIf(debug_info=no_match(["gmodules"]))
17+
@skipIfReproducer # VFS is a snapshot.
1718
def test_expr(self):
1819
with open(self.getBuildArtifact("module.modulemap"), "w") as f:
1920
f.write("""

0 commit comments

Comments
 (0)