[Lldb-commits] [lldb] r195707 - Add decorator for FreeBSD failing test due to pr18061

Ed Maste emaste at freebsd.org
Mon Nov 25 17:11:15 PST 2013


Author: emaste
Date: Mon Nov 25 19:11:14 2013
New Revision: 195707

URL: http://llvm.org/viewvc/llvm-project?rev=195707&view=rev
Log:
Add decorator for FreeBSD failing test due to pr18061

The test code locks mutexes from one thread and unlocks them from a
different one, which is not valid (it's either undefined behaviour or is
required to return an error).

See http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_lock.html

Modified:
    lldb/trunk/test/functionalities/thread/TestNumThreads.py

Modified: lldb/trunk/test/functionalities/thread/TestNumThreads.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/TestNumThreads.py?rev=195707&r1=195706&r2=195707&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/TestNumThreads.py (original)
+++ lldb/trunk/test/functionalities/thread/TestNumThreads.py Mon Nov 25 19:11:14 2013
@@ -19,7 +19,7 @@ class NumberOfThreadsTestCase(TestBase):
         self.buildDsym()
         self.number_of_threads_test()
 
-    @expectedFailureFreeBSD("llvm.org/pr16696") # threaded inferior not yet implemented on FreeBSD
+    @expectedFailureFreeBSD("llvm.org/pr18061") # test relies on undefined behaviour
     @dwarf_test
     def test_with_dwarf(self):
         """Test number of threads."""





More information about the lldb-commits mailing list