mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
[lldbsuite] Un-xfail several tests in TestInferiorCrashing on Windows
Several of the tests are now passing. This change is enabling them. llvm-svn: 349813
This commit is contained in:
@@ -16,59 +16,42 @@ class CrashingInferiorTestCase(TestBase):
|
||||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@expectedFailureAll(
|
||||
oslist=["windows"],
|
||||
bugnumber="llvm.org/pr24778, This actually works, but the test relies on the output format instead of the API")
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
|
||||
def test_inferior_crashing(self):
|
||||
"""Test that lldb reliably catches the inferior crashing (command)."""
|
||||
self.build()
|
||||
self.inferior_crashing()
|
||||
|
||||
@expectedFailureAll(
|
||||
oslist=["windows"],
|
||||
bugnumber="llvm.org/pr24778, This actually works, but the test relies on the output format instead of the API")
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
|
||||
def test_inferior_crashing_register(self):
|
||||
"""Test that lldb reliably reads registers from the inferior after crashing (command)."""
|
||||
self.build()
|
||||
self.inferior_crashing_registers()
|
||||
|
||||
@add_test_categories(['pyapi'])
|
||||
@expectedFailureAll(
|
||||
oslist=["windows"],
|
||||
bugnumber="llvm.org/pr24778, This actually works, but the test relies on the output format instead of the API")
|
||||
def test_inferior_crashing_python(self):
|
||||
"""Test that lldb reliably catches the inferior crashing (Python API)."""
|
||||
self.build()
|
||||
self.inferior_crashing_python()
|
||||
|
||||
@expectedFailureAll(
|
||||
oslist=["windows"],
|
||||
bugnumber="llvm.org/pr24778, This actually works, but the test relies on the output format instead of the API")
|
||||
def test_inferior_crashing_expr(self):
|
||||
"""Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
|
||||
self.build()
|
||||
self.inferior_crashing_expr()
|
||||
|
||||
@expectedFailureAll(
|
||||
oslist=["windows"],
|
||||
bugnumber="llvm.org/pr24778, This actually works, but the test relies on the output format instead of the API")
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
|
||||
def test_inferior_crashing_step(self):
|
||||
"""Test that stepping after a crash behaves correctly."""
|
||||
self.build()
|
||||
self.inferior_crashing_step()
|
||||
|
||||
@expectedFailureAll(
|
||||
oslist=["windows"],
|
||||
bugnumber="llvm.org/pr24778, This actually works, but the test relies on the output format instead of the API")
|
||||
@skipIfTargetAndroid() # debuggerd interferes with this test on Android
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
|
||||
def test_inferior_crashing_step_after_break(self):
|
||||
"""Test that lldb functions correctly after stepping through a crash."""
|
||||
self.build()
|
||||
self.inferior_crashing_step_after_break()
|
||||
|
||||
@expectedFailureAll(
|
||||
oslist=["windows"],
|
||||
bugnumber="llvm.org/pr24778, This actually works, but the test relies on the output format instead of the API")
|
||||
# Inferior exits after stepping after a segfault. This is working as
|
||||
# intended IMHO.
|
||||
@skipIfLinux
|
||||
|
||||
Reference in New Issue
Block a user