summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py')
-rw-r--r--lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py62
1 files changed, 13 insertions, 49 deletions
diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
index c300deea1ed..40d76884d88 100644
--- a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
+++ b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py
@@ -9,88 +9,52 @@ class CrashingInferiorTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @skipUnlessDarwin
- def test_inferior_crashing_dsym(self):
- """Test that lldb reliably catches the inferior crashing (command)."""
- self.buildDsym()
- self.inferior_crashing()
-
@expectedFailureFreeBSD("llvm.org/pr23699 SIGSEGV is reported as exception, not signal")
@expectedFailureWindows("llvm.org/pr24778") # This actually works, but the test relies on the output format instead of the API
- def test_inferior_crashing_dwarf(self):
+ def test_inferior_crashing(self):
"""Test that lldb reliably catches the inferior crashing (command)."""
- self.buildDwarf()
+ self.build()
self.inferior_crashing()
- @skipUnlessDarwin
- def test_inferior_crashing_registers_dsym(self):
- """Test that lldb reliably reads registers from the inferior after crashing (command)."""
- self.buildDsym()
- self.inferior_crashing_registers()
-
@expectedFailureWindows("llvm.org/pr24778")
- def test_inferior_crashing_register_dwarf(self):
+ def test_inferior_crashing_register(self):
"""Test that lldb reliably reads registers from the inferior after crashing (command)."""
- self.buildDwarf()
+ self.build()
self.inferior_crashing_registers()
@python_api_test
@expectedFailureWindows("llvm.org/pr24778")
def test_inferior_crashing_python(self):
"""Test that lldb reliably catches the inferior crashing (Python API)."""
- self.buildDefault()
+ self.build()
self.inferior_crashing_python()
- @skipUnlessDarwin
- def test_inferior_crashing_expr_dsym(self):
- """Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
- self.buildDsym()
- self.inferior_crashing_expr()
-
@expectedFailureWindows("llvm.org/pr24778")
- def test_inferior_crashing_expr_dwarf(self):
+ def test_inferior_crashing_expr(self):
"""Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
- self.buildDwarf()
+ self.build()
self.inferior_crashing_expr()
- @skipUnlessDarwin
- def test_inferior_crashing_step_dsym(self):
- """Test that lldb functions correctly after stepping through a crash."""
- self.buildDsym()
- self.inferior_crashing_step()
-
@expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["i386"])
@expectedFailureWindows("llvm.org/pr24778")
- def test_inferior_crashing_step_dwarf(self):
+ def test_inferior_crashing_step(self):
"""Test that stepping after a crash behaves correctly."""
- self.buildDwarf()
+ self.build()
self.inferior_crashing_step()
- @skipUnlessDarwin
- def test_inferior_crashing_step_after_break_dsym(self):
- """Test that stepping after a crash behaves correctly."""
- self.buildDsym()
- self.inferior_crashing_step_after_break()
-
@expectedFailureFreeBSD('llvm.org/pr24939')
@expectedFailureWindows("llvm.org/pr24778")
@expectedFailureAndroid(archs=['aarch64'], api_levels=range(21 + 1)) # No eh_frame for sa_restorer
- def test_inferior_crashing_step_after_break_dwarf(self):
+ def test_inferior_crashing_step_after_break(self):
"""Test that lldb functions correctly after stepping through a crash."""
- self.buildDwarf()
+ self.build()
self.inferior_crashing_step_after_break()
- @skipUnlessDarwin
- def test_inferior_crashing_expr_step_and_expr_dsym(self):
- """Test that lldb expressions work before and after stepping after a crash."""
- self.buildDsym()
- self.inferior_crashing_expr_step_expr()
-
@expectedFailureWindows("llvm.org/pr24778")
@skipIfLinux # Inferior exits after stepping after a segfault. This is working as intended IMHO.
- def test_inferior_crashing_expr_step_and_expr_dwarf(self):
+ def test_inferior_crashing_expr_step_and_expr(self):
"""Test that lldb expressions work before and after stepping after a crash."""
- self.buildDwarf()
+ self.build()
self.inferior_crashing_expr_step_expr()
def set_breakpoint(self, line):
OpenPOWER on IntegriCloud