From a5d0f84694cfb57d35e2e90fda26093dc943d2d0 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Fri, 26 Apr 2013 17:47:10 +0000 Subject: [PATCH] Removing invalid test cases from thread state test llvm-svn: 180613 --- .../thread/state/TestThreadStates.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lldb/test/functionalities/thread/state/TestThreadStates.py b/lldb/test/functionalities/thread/state/TestThreadStates.py index 7a47daf953ec..c3caf53bf142 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)