Skip to content
Snippets Groups Projects
Commit 0afb78a8 authored by Ed Maste's avatar Ed Maste
Browse files

test: Add @expectedFailureFreeBSD decorators

llvm.org/pr17184 expression interpreter fails for crash/assert tests

llvm-svn: 190416
parent fcd4caac
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ class AssertingInferiorTestCase(TestBase): ...@@ -26,6 +26,7 @@ class AssertingInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.inferior_asserting_registers() self.inferior_asserting_registers()
@expectedFailureFreeBSD('llvm.org/pr17184')
def test_inferior_asserting_register_dwarf(self): def test_inferior_asserting_register_dwarf(self):
"""Test that lldb reliably reads registers from the inferior after asserting (command).""" """Test that lldb reliably reads registers from the inferior after asserting (command)."""
self.buildDwarf() self.buildDwarf()
......
...@@ -21,6 +21,7 @@ class ChangedInferiorTestCase(TestBase): ...@@ -21,6 +21,7 @@ class ChangedInferiorTestCase(TestBase):
self.setTearDownCleanup(dictionary=d) self.setTearDownCleanup(dictionary=d)
self.inferior_not_crashing() self.inferior_not_crashing()
@expectedFailureFreeBSD('llvm.org/pr17184')
def test_inferior_crashing_dwarf(self): def test_inferior_crashing_dwarf(self):
"""Test lldb reloads the inferior after it was changed during the session.""" """Test lldb reloads the inferior after it was changed during the session."""
self.buildDwarf() self.buildDwarf()
......
...@@ -26,6 +26,7 @@ class CrashingInferiorTestCase(TestBase): ...@@ -26,6 +26,7 @@ class CrashingInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.inferior_crashing_registers() self.inferior_crashing_registers()
@expectedFailureFreeBSD('llvm.org/pr17184')
def test_inferior_crashing_register_dwarf(self): def test_inferior_crashing_register_dwarf(self):
"""Test that lldb reliably reads registers from the inferior after crashing (command).""" """Test that lldb reliably reads registers from the inferior after crashing (command)."""
self.buildDwarf() self.buildDwarf()
...@@ -43,6 +44,7 @@ class CrashingInferiorTestCase(TestBase): ...@@ -43,6 +44,7 @@ class CrashingInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.inferior_crashing_expr() self.inferior_crashing_expr()
@expectedFailureFreeBSD('llvm.org/pr17184')
def test_inferior_crashing_expr_dwarf(self): def test_inferior_crashing_expr_dwarf(self):
"""Test that the lldb expression interpreter can read from the inferior after crashing (command).""" """Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
self.buildDwarf() self.buildDwarf()
...@@ -54,6 +56,7 @@ class CrashingInferiorTestCase(TestBase): ...@@ -54,6 +56,7 @@ class CrashingInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.inferior_crashing_step() self.inferior_crashing_step()
@expectedFailureFreeBSD('llvm.org/pr17184')
def test_inferior_crashing_step_dwarf(self): def test_inferior_crashing_step_dwarf(self):
"""Test that stepping after a crash behaves correctly.""" """Test that stepping after a crash behaves correctly."""
self.buildDwarf() self.buildDwarf()
...@@ -78,6 +81,7 @@ class CrashingInferiorTestCase(TestBase): ...@@ -78,6 +81,7 @@ class CrashingInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.inferior_crashing_expr_step_expr() self.inferior_crashing_expr_step_expr()
@expectedFailureFreeBSD('llvm.org/pr17184')
@expectedFailureLinux # due to llvm.org/pr15989 -- expression fails after crash and step @expectedFailureLinux # due to llvm.org/pr15989 -- expression fails after crash and step
def test_inferior_crashing_expr_step_and_expr_dwarf(self): def test_inferior_crashing_expr_step_and_expr_dwarf(self):
"""Test that lldb expressions work before and after stepping after a crash.""" """Test that lldb expressions work before and after stepping after a crash."""
......
...@@ -27,6 +27,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): ...@@ -27,6 +27,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.recursive_inferior_crashing_registers() self.recursive_inferior_crashing_registers()
@expectedFailureFreeBSD('llvm.org/pr17184')
def test_recursive_inferior_crashing_register_dwarf(self): def test_recursive_inferior_crashing_register_dwarf(self):
"""Test that lldb reliably reads registers from the inferior after crashing (command).""" """Test that lldb reliably reads registers from the inferior after crashing (command)."""
self.buildDwarf() self.buildDwarf()
...@@ -44,6 +45,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): ...@@ -44,6 +45,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.recursive_inferior_crashing_expr() self.recursive_inferior_crashing_expr()
@expectedFailureFreeBSD('llvm.org/pr17184')
def test_recursive_inferior_crashing_expr_dwarf(self): def test_recursive_inferior_crashing_expr_dwarf(self):
"""Test that the lldb expression interpreter can read from the inferior after crashing (command).""" """Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
self.buildDwarf() self.buildDwarf()
...@@ -78,6 +80,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): ...@@ -78,6 +80,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
self.buildDsym() self.buildDsym()
self.recursive_inferior_crashing_expr_step_expr() self.recursive_inferior_crashing_expr_step_expr()
@expectedFailureFreeBSD('llvm.org/pr17184')
@expectedFailureLinux # due to llvm.org/pr15415 with -fomit-frame-pointer, and pr15989 with ebp/rbp @expectedFailureLinux # due to llvm.org/pr15415 with -fomit-frame-pointer, and pr15989 with ebp/rbp
def test_recursive_inferior_crashing_expr_step_and_expr_dwarf(self): def test_recursive_inferior_crashing_expr_step_and_expr_dwarf(self):
"""Test that lldb expressions work before and after stepping after a crash.""" """Test that lldb expressions work before and after stepping after a crash."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment