[Lldb-commits] [lldb] r187890 - Re-enable check previously disabled due to llvm.org/pr16603

Daniel Malea daniel.malea at intel.com
Wed Aug 7 08:21:08 PDT 2013


Author: dmalea
Date: Wed Aug  7 10:21:08 2013
New Revision: 187890

URL: http://llvm.org/viewvc/llvm-project?rev=187890&view=rev
Log:
Re-enable check previously disabled due to llvm.org/pr16603


Modified:
    lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.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=187890&r1=187889&r2=187890&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py (original)
+++ lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py Wed Aug  7 10:21:08 2013
@@ -490,10 +490,9 @@ class ConcurrentEventsTestCase(TestBase)
             # There should be a single active thread (the main one) which hit the breakpoint after joining
             self.assertEqual(1, self.finish_breakpoint.GetHitCount(), "Expected main thread (finish) breakpoint to be hit once")
 
-            # llvm.org/pr16603 -- LLDB on Linux sometimes reports exited threads as still 'running'
-            #num_threads = self.inferior_process.GetNumThreads()
-            #self.assertEqual(1, num_threads, "Expecting 1 thread but seeing %d. Details:%s" % (num_threads,
-            #                                                                                 "\n\t".join(self.describe_threads())))
+            num_threads = self.inferior_process.GetNumThreads()
+            self.assertEqual(1, num_threads, "Expecting 1 thread but seeing %d. Details:%s" % (num_threads,
+                                                                                             "\n\t".join(self.describe_threads())))
             self.runCmd("continue")
 
             # The inferior process should have exited without crashing





More information about the lldb-commits mailing list