forked from OSchip/llvm-project
test: Update decorators for FreeBSD failures with threaded inferior support
llvm.org/pr18190 llvm.org/pr18191 llvm-svn: 196792
This commit is contained in:
parent
21e67472c2
commit
1d981a9606
|
@ -19,7 +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
|
||||
@expectedFailureFreeBSD("llvm.org/pr18191") # Cannot find -llldb on FreeBSD
|
||||
@skipIfi386
|
||||
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
|
||||
def test_breakpoint_callback(self):
|
||||
|
@ -27,7 +27,7 @@ class SBBreakpointCallbackCase(TestBase):
|
|||
self.build_and_test('driver.cpp test_breakpoint_callback.cpp',
|
||||
'test_breakpoint_callback')
|
||||
|
||||
@skipIfFreeBSD # llvm.org/pr16696
|
||||
@expectedFailureFreeBSD("llvm.org/pr18191") # Cannot find -llldb on FreeBSD
|
||||
@skipIfi386
|
||||
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
|
||||
def test_sb_api_listener_event_description(self):
|
||||
|
@ -36,7 +36,7 @@ class SBBreakpointCallbackCase(TestBase):
|
|||
'test_listener_event_description')
|
||||
pass
|
||||
|
||||
@skipIfFreeBSD # llvm.org/pr16696
|
||||
@expectedFailureFreeBSD("llvm.org/pr18191") # Cannot find -llldb on FreeBSD
|
||||
@skipIfi386
|
||||
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
|
||||
def test_sb_api_listener_event_process_state(self):
|
||||
|
@ -48,7 +48,7 @@ class SBBreakpointCallbackCase(TestBase):
|
|||
pass
|
||||
|
||||
|
||||
@skipIfFreeBSD # llvm.org/pr16696
|
||||
@expectedFailureFreeBSD("llvm.org/pr18191") # Cannot find -llldb on FreeBSD
|
||||
@skipIfi386
|
||||
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
|
||||
@skipIfLinux # llvm.org/pr16016 assertion failure in ProcessPOSIX.cpp.
|
||||
|
|
|
@ -21,7 +21,7 @@ class BreakpointAfterJoinTestCase(TestBase):
|
|||
self.breakpoint_after_join_test()
|
||||
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@skipIfLinux # llvm.org/pr16170 -- this test causes LLDB to hang in waitpid() and the inferior is left in the Sleeping (S) state
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
|
|
|
@ -36,24 +36,24 @@ class CreateDuringStepTestCase(TestBase):
|
|||
self.buildDsym(dictionary=self.getBuildFlags())
|
||||
self.create_during_step_in_test()
|
||||
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_step_inst_with_dwarf(self):
|
||||
"""Test thread creation during step-inst handling."""
|
||||
self.buildDwarf(dictionary=self.getBuildFlags())
|
||||
self.create_during_step_inst_test()
|
||||
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_step_over_with_dwarf(self):
|
||||
"""Test thread creation during step-over handling."""
|
||||
self.buildDwarf(dictionary=self.getBuildFlags())
|
||||
self.create_during_step_over_test()
|
||||
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_step_in_with_dwarf(self):
|
||||
"""Test thread creation during step-in handling."""
|
||||
|
|
|
@ -21,7 +21,7 @@ class ExitDuringBreakpointTestCase(TestBase):
|
|||
self.exit_during_breakpoint_test()
|
||||
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@skipIfLinux # llvm.org/pr16170 -- this test causes LLDB to hang in waitpid() and the inferior is left in the Sleeping (S) state
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
|
|
|
@ -37,7 +37,7 @@ class ExitDuringStepTestCase(TestBase):
|
|||
self.exit_during_step_in_test()
|
||||
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
"""Test thread exit during step handling."""
|
||||
|
@ -45,7 +45,7 @@ class ExitDuringStepTestCase(TestBase):
|
|||
self.exit_during_step_inst_test()
|
||||
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_step_over_with_dwarf(self):
|
||||
"""Test thread exit during step-over handling."""
|
||||
|
@ -53,7 +53,7 @@ class ExitDuringStepTestCase(TestBase):
|
|||
self.exit_during_step_over_test()
|
||||
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_step_in_with_dwarf(self):
|
||||
"""Test thread exit during step-in handling."""
|
||||
|
|
|
@ -20,8 +20,8 @@ class MultipleBreakpointTestCase(TestBase):
|
|||
self.buildDsym(dictionary=self.getBuildFlags())
|
||||
self.multiple_breakpoint_test()
|
||||
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not implemented on FreeBSD yet
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
"""Test simultaneous breakpoints in multiple threads."""
|
||||
|
|
|
@ -20,8 +20,8 @@ class ThreadExitTestCase(TestBase):
|
|||
self.buildDsym(dictionary=self.getBuildFlags())
|
||||
self.thread_exit_test()
|
||||
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not implemented on FreeBSD yet
|
||||
@expectedFailureDarwin("llvm.org/pr15824") # thread states not properly maintained
|
||||
@expectedFailureFreeBSD("llvm.org/pr18190") # thread states not properly maintained
|
||||
@dwarf_test
|
||||
def test_with_dwarf(self):
|
||||
"""Test thread exit handling."""
|
||||
|
|
|
@ -19,7 +19,6 @@ class TlsGlobalTestCase(TestBase):
|
|||
self.tls_globals()
|
||||
|
||||
@dwarf_test
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696")
|
||||
@unittest2.expectedFailure("rdar://7796742")
|
||||
def test_with_dwarf(self):
|
||||
"""Test thread-local storage."""
|
||||
|
|
|
@ -18,7 +18,6 @@ class ThreadsStackTracesTestCase(TestBase):
|
|||
# Find the line number to break inside main().
|
||||
self.line = line_number('main.cpp', '// Set break point at this line.')
|
||||
|
||||
@expectedFailureFreeBSD("llvm.org/pr16696") # live debugging lacks threaded inferior support
|
||||
@expectedFailureLinux # llvm.org/pr15415 -- partial stack trace in thread 1 (while stopped inside a read() call)
|
||||
@python_api_test
|
||||
def test_stack_traces(self):
|
||||
|
|
Loading…
Reference in New Issue