[Lldb-commits] [lldb] r196101 - test: Decorators for pr17910

Ed Maste emaste at freebsd.org
Mon Dec 2 06:26:57 PST 2013


Author: emaste
Date: Mon Dec  2 08:26:57 2013
New Revision: 196101

URL: http://llvm.org/viewvc/llvm-project?rev=196101&view=rev
Log:
test: Decorators for pr17910

A number of tests fail to build on FreeBSD because the test build script
defaults to libstdc++ for clang.  On FreeBSD the libstdc++ is rather old
and libc++ should be used instead.

(These tests previously had an @expectedFailureFreeBSD decorator for
pr16696, the umbrella PR for the lack of threaded inferior support on
FreeBSD.  The work to add that support will be committed soon.)

Modified:
    lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py
    lldb/trunk/test/functionalities/thread/step_out/TestThreadStepOut.py

Modified: lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py?rev=196101&r1=196100&r2=196101&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py (original)
+++ lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py Mon Dec  2 08:26:57 2013
@@ -63,21 +63,21 @@ class ConcurrentEventsTestCase(TestBase)
     #
     ## Tests for concurrent signal and breakpoint
     #
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_signal_break_dwarf(self):
         """Test signal and a breakpoint in multiple threads."""
         self.buildDwarf(dictionary=self.getBuildFlags())
         self.do_thread_actions(num_breakpoint_threads=1, num_signal_threads=1)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_delay_signal_break_dwarf(self):
         """Test (1-second delay) signal and a breakpoint in multiple threads."""
         self.buildDwarf(dictionary=self.getBuildFlags())
         self.do_thread_actions(num_breakpoint_threads=1, num_delay_signal_threads=1)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_signal_delay_break_dwarf(self):
         """Test signal and a (1 second delay) breakpoint in multiple threads."""
@@ -142,14 +142,14 @@ class ConcurrentEventsTestCase(TestBase)
     #
     ## Tests for multiple breakpoint threads
     #
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_two_breakpoint_threads_dwarf(self):
         """Test two threads that trigger a breakpoint. """
         self.buildDwarf(dictionary=self.getBuildFlags())
         self.do_thread_actions(num_breakpoint_threads=2)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_breakpoint_one_delay_breakpoint_threads_dwarf(self):
         """Test threads that trigger a breakpoint where one thread has a 1 second delay. """
@@ -157,14 +157,14 @@ class ConcurrentEventsTestCase(TestBase)
         self.do_thread_actions(num_breakpoint_threads=1,
                                num_delay_breakpoint_threads=1)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_two_breakpoints_one_signal_dwarf(self):
         """Test two threads that trigger a breakpoint and one signal thread. """
         self.buildDwarf(dictionary=self.getBuildFlags())
         self.do_thread_actions(num_breakpoint_threads=2, num_signal_threads=1)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_breakpoint_delay_breakpoint_one_signal_dwarf(self):
         """Test two threads that trigger a breakpoint (one with a 1 second delay) and one signal thread. """
@@ -173,7 +173,7 @@ class ConcurrentEventsTestCase(TestBase)
                                num_delay_breakpoint_threads=1,
                                num_signal_threads=1)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_two_breakpoints_one_delay_signal_dwarf(self):
         """Test two threads that trigger a breakpoint and one (1 second delay) signal thread. """
@@ -286,7 +286,7 @@ class ConcurrentEventsTestCase(TestBase)
     #
     ## Test for crashing threads happening concurrently with other events
     #
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_crash_with_break_dwarf(self):
         """ Test a thread that crashes while another thread hits a breakpoint."""
@@ -301,7 +301,7 @@ class ConcurrentEventsTestCase(TestBase)
         self.buildDwarf(dictionary=self.getBuildFlags())
         self.do_thread_actions(num_crash_threads=1, num_watchpoint_threads=1)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_crash_with_signal_dwarf(self):
         """ Test a thread that crashes while another thread generates a signal."""
@@ -329,7 +329,7 @@ class ConcurrentEventsTestCase(TestBase)
                                num_breakpoint_threads=1,
                                num_watchpoint_threads=1)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_delayed_crash_with_breakpoint_signal_dwarf(self):
         """ Test a thread with a delayed crash while other threads generate a signal and hit a breakpoint. """

Modified: lldb/trunk/test/functionalities/thread/step_out/TestThreadStepOut.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/step_out/TestThreadStepOut.py?rev=196101&r1=196100&r2=196101&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/step_out/TestThreadStepOut.py (original)
+++ lldb/trunk/test/functionalities/thread/step_out/TestThreadStepOut.py Mon Dec  2 08:26:57 2013
@@ -18,7 +18,7 @@ class ThreadStepOutTestCase(TestBase):
         self.buildDsym(dictionary=self.getBuildFlags())
         self.step_out_test(self.step_out_single_thread_with_cmd)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_step_single_thread_with_dwarf(self):
         """Test thread step out on one thread via command interpreter. """
@@ -31,7 +31,7 @@ class ThreadStepOutTestCase(TestBase):
         self.buildDsym(dictionary=self.getBuildFlags())
         self.step_out_test(self.step_out_all_threads_with_cmd)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_step_all_threads_with_dwarf(self):
         """Test thread step out on all threads via command interpreter. """
@@ -44,7 +44,7 @@ class ThreadStepOutTestCase(TestBase):
         self.buildDsym(dictionary=self.getBuildFlags())
         self.step_out_test(self.step_out_with_python)
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr17910") # fails to build
     @dwarf_test
     def test_python_with_dwarf(self):
         """Test thread step out on one thread via Python API (dwarf)."""





More information about the lldb-commits mailing list