Re-enable check previously disabled due to llvm.org/pr16603
authorDaniel Malea <daniel.malea@intel.com>
Wed, 7 Aug 2013 15:21:08 +0000 (15:21 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Wed, 7 Aug 2013 15:21:08 +0000 (15:21 +0000)
llvm-svn: 187890

lldb/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py

index 5594d1ecb7f251cc022e9e917fbb79730c411c34..d8d567a1f6d67836a140519cdd337146316ce46b 100644 (file)
@@ -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