[Lldb-commits] [lldb] r196792 - test: Update decorators for FreeBSD failures with threaded inferior support

Ed Maste emaste at freebsd.org
Mon Dec 9 09:27:19 PST 2013


Author: emaste
Date: Mon Dec  9 11:27:18 2013
New Revision: 196792

URL: http://llvm.org/viewvc/llvm-project?rev=196792&view=rev
Log:
test: Update decorators for FreeBSD failures with threaded inferior support

llvm.org/pr18190
llvm.org/pr18191

Modified:
    lldb/trunk/test/api/multithreaded/TestMultithreaded.py
    lldb/trunk/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
    lldb/trunk/test/functionalities/thread/create_during_step/TestCreateDuringStep.py
    lldb/trunk/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
    lldb/trunk/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
    lldb/trunk/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py
    lldb/trunk/test/functionalities/thread/thread_exit/TestThreadExit.py
    lldb/trunk/test/lang/c/tls_globals/TestTlsGlobals.py
    lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py

Modified: lldb/trunk/test/api/multithreaded/TestMultithreaded.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/api/multithreaded/TestMultithreaded.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/api/multithreaded/TestMultithreaded.py (original)
+++ lldb/trunk/test/api/multithreaded/TestMultithreaded.py Mon Dec  9 11:27:18 2013
@@ -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.

Modified: lldb/trunk/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py (original)
+++ lldb/trunk/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py Mon Dec  9 11:27:18 2013
@@ -21,7 +21,7 @@ class BreakpointAfterJoinTestCase(TestBa
         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):

Modified: lldb/trunk/test/functionalities/thread/create_during_step/TestCreateDuringStep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/create_during_step/TestCreateDuringStep.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/create_during_step/TestCreateDuringStep.py (original)
+++ lldb/trunk/test/functionalities/thread/create_during_step/TestCreateDuringStep.py Mon Dec  9 11:27:18 2013
@@ -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."""

Modified: lldb/trunk/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py (original)
+++ lldb/trunk/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py Mon Dec  9 11:27:18 2013
@@ -21,7 +21,7 @@ class ExitDuringBreakpointTestCase(TestB
         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):

Modified: lldb/trunk/test/functionalities/thread/exit_during_step/TestExitDuringStep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/exit_during_step/TestExitDuringStep.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/exit_during_step/TestExitDuringStep.py (original)
+++ lldb/trunk/test/functionalities/thread/exit_during_step/TestExitDuringStep.py Mon Dec  9 11:27:18 2013
@@ -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."""

Modified: lldb/trunk/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py (original)
+++ lldb/trunk/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py Mon Dec  9 11:27:18 2013
@@ -20,8 +20,8 @@ class MultipleBreakpointTestCase(TestBas
         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."""

Modified: lldb/trunk/test/functionalities/thread/thread_exit/TestThreadExit.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/thread_exit/TestThreadExit.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/thread_exit/TestThreadExit.py (original)
+++ lldb/trunk/test/functionalities/thread/thread_exit/TestThreadExit.py Mon Dec  9 11:27:18 2013
@@ -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."""

Modified: lldb/trunk/test/lang/c/tls_globals/TestTlsGlobals.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/tls_globals/TestTlsGlobals.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/tls_globals/TestTlsGlobals.py (original)
+++ lldb/trunk/test/lang/c/tls_globals/TestTlsGlobals.py Mon Dec  9 11:27:18 2013
@@ -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."""

Modified: lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py?rev=196792&r1=196791&r2=196792&view=diff
==============================================================================
--- lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py (original)
+++ lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py Mon Dec  9 11:27:18 2013
@@ -18,7 +18,6 @@ class ThreadsStackTracesTestCase(TestBas
         # 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):





More information about the lldb-commits mailing list