diff options
| -rw-r--r-- | lldb/test/functionalities/thread/state/TestThreadStates.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lldb/test/functionalities/thread/state/TestThreadStates.py b/lldb/test/functionalities/thread/state/TestThreadStates.py index 7a47daf953e..c3caf53bf14 100644 --- a/lldb/test/functionalities/thread/state/TestThreadStates.py +++ b/lldb/test/functionalities/thread/state/TestThreadStates.py @@ -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) |

