[Lldb-commits] [lldb] r180613 - Removing invalid test cases from thread state test

Andrew Kaylor andrew.kaylor at intel.com
Fri Apr 26 10:47:10 PDT 2013


Author: akaylor
Date: Fri Apr 26 12:47:10 2013
New Revision: 180613

URL: http://llvm.org/viewvc/llvm-project?rev=180613&view=rev
Log:
Removing invalid test cases from thread state test

Modified:
    lldb/trunk/test/functionalities/thread/state/TestThreadStates.py

Modified: lldb/trunk/test/functionalities/thread/state/TestThreadStates.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/state/TestThreadStates.py?rev=180613&r1=180612&r2=180613&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/state/TestThreadStates.py (original)
+++ lldb/trunk/test/functionalities/thread/state/TestThreadStates.py Fri Apr 26 12:47:10 2013
@@ -82,20 +82,6 @@ class StopThreadsTestCase(TestBase):
         self.assertFalse(thread.IsStopped(), "Thread state is \'stopped\' when it should be running.")
         self.assertFalse(thread.IsSuspended(), "Thread state is \'suspended\' when it should be running.")
 
-        # Suspend the thread
-        thread.Suspend()
-
-        # Make sure the thread is in the suspended state (which means it is also stopped).
-        self.assertTrue(thread.IsSuspended(), "Thread state isn't \'suspended\' during suspend.")
-        self.assertTrue(thread.IsStopped(), "Thread state isn't \'stopped\' during suspend.")
-
-        # Resume the thread
-        thread.Resume()
-
-        # Check the thread state. It should be running.
-        self.assertFalse(thread.IsStopped(), "Thread state is \'stopped\' after thread resume.")
-        self.assertFalse(thread.IsSuspended(), "Thread state is \'suspended\' after thread resume.")
-
         # Go back to synchronous interactions
         self.dbg.SetAsync(False)
 





More information about the lldb-commits mailing list