test: Update FreeBSD failure decorators

llvm.org/pr15261 missing size for static arrays
llvm.org/pr15278 expressions generating signals
llvm.org/pr15824 thread states aren't properly maintained
llvm.org/pr16696 threaded inferior debugging not yet on FreeBSD
llvm.org/pr17214 inline stepping fails on FreeBSD
llvm.org/pr17225 Clang assertion failure
llvm.org/pr17226 frame info lost after failed expression evaluation
llvm.org/pr17228 test timeout

The first three are existing Linux issues that also affect FreeBSD.

llvm-svn: 190698
This commit is contained in:
Ed Maste 2013-09-13 15:34:59 +00:00
parent ef6f1151b0
commit 34bdbbdf97
9 changed files with 13 additions and 1 deletions

View File

@ -19,6 +19,7 @@ class SBBreakpointCallbackCase(TestBase):
self.addTearDownHook(lambda: os.remove(self.inferior))
@unittest2.expectedFailure # llvm.org/pr16000: SBBreakpoint.SetCallback() does nothing
@skipIfFreeBSD # llvm.org/pr16696 - also build issues with libstdc++ on FreeBSD < 10.0
@skipIfi386
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
def test_breakpoint_callback(self):
@ -26,6 +27,7 @@ class SBBreakpointCallbackCase(TestBase):
self.build_and_test('driver.cpp test_breakpoint_callback.cpp',
'test_breakpoint_callback')
@skipIfFreeBSD # llvm.org/pr16696
@skipIfi386
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
def test_sb_api_listener_event_description(self):
@ -34,6 +36,7 @@ class SBBreakpointCallbackCase(TestBase):
'test_listener_event_description')
pass
@skipIfFreeBSD # llvm.org/pr16696
@skipIfi386
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
def test_sb_api_listener_event_process_state(self):
@ -45,6 +48,7 @@ class SBBreakpointCallbackCase(TestBase):
pass
@skipIfFreeBSD # llvm.org/pr16696
@skipIfi386
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
@skipIfLinux # llvm.org/pr16016 assertion failure in ProcessPOSIX.cpp.

View File

@ -26,6 +26,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase):
self.buildDsym()
self.call_function()
@skipIfFreeBSD # llvm.org/pr15278
@skipIfLinux # llvm.org/pr15278: handle expressions that generate signals on Linux
@dwarf_test
def test_with_dwarf(self):

View File

@ -18,6 +18,7 @@ class ConvenienceVariablesCase(TestBase):
self.convenience_variables()
@dwarf_test
@skipIfFreeBSD # llvm.org/pr17228
@skipIfLinux # llvm.org/pr14637: this test case fails sometimes because the input prompt "(lldb)" is missing
def test_with_dwarf_and_run_commands(self):
"""Test convenience variables lldb.debugger, lldb.target, lldb.process, lldb.thread, and lldb.frame."""

View File

@ -33,9 +33,10 @@ class AssertingInferiorTestCase(TestBase):
self.inferior_asserting_registers()
@skipIfGcc # Avoid xpasses as the verion of libc used on the gcc buildbot has the required function symbols.
@expectedFailureFreeBSD # ResolveSymbolContextForAddress can fail using ELF with stripped function symbols.
@expectedFailureLinux # ResolveSymbolContextForAddress can fail using ELF with stripped function symbols.
def test_inferior_asserting_disassemble(self):
"""Test that lldb reliably disassemblers frames after asserting (command)."""
"""Test that lldb reliably disassembles frames after asserting (command)."""
self.buildDefault()
self.inferior_asserting_disassemble()

View File

@ -20,6 +20,7 @@ class TestInlineStepping(TestBase):
@python_api_test
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr17214')
@expectedFailureIcc # Not really a bug. ICC combines two inlined functions.
def test_with_dwarf_and_python_api(self):
"""Test stepping over and into inlined functions."""

View File

@ -19,6 +19,7 @@ class ThreadStateTestCase(TestBase):
self.buildDsym(dictionary=self.getBuildFlags(use_cpp11=False))
self.thread_state_after_breakpoint_test()
@expectedFailureFreeBSD('llvm.org/pr15824')
@dwarf_test
def test_state_after_breakpoint_with_dwarf(self):
"""Test thread state after breakpoint."""

View File

@ -21,6 +21,7 @@ class TestCStepping(TestBase):
self.buildDsym()
self.step_over_stepping()
@expectedFailureFreeBSD('llvm.org/pr17226')
@expectedFailureLinux # llvm.org/pr14437
@python_api_test
@dwarf_test

View File

@ -20,6 +20,7 @@ class StaticVariableTestCase(TestBase):
self.buildDsym()
self.static_variable_commands()
@expectedFailureFreeBSD('llvm.org/pr15261', failing_compilers) # lldb on FreeBSD does not display the size of (class or file)static arrays
@expectedFailureLinux('llvm.org/pr15261', failing_compilers) # lldb on Linux does not display the size of (class or file)static arrays
@dwarf_test
def test_with_dwarf_and_run_command(self):

View File

@ -20,6 +20,7 @@ class DynamicValueTestCase(TestBase):
self.buildDsym()
self.do_get_dynamic_vals()
@expectedFailureFreeBSD('llvm.org/pr17225')
@python_api_test
@dwarf_test
def test_get_dynamic_vals_with_dwarf(self):