Remove the check for eStateConnected in remote testing sessions.
authorJim Ingham <jingham@apple.com>
Thu, 4 Aug 2022 16:14:45 +0000 (09:14 -0700)
committerJim Ingham <jingham@apple.com>
Thu, 4 Aug 2022 16:19:55 +0000 (09:19 -0700)
This check is clearly incorrect, there's no way you should have an
eStateConnected event left on the queue if you've already launched
and hit a breakpoint in the program.  This check fails running remotely
on Darwin systems and on one remote Linux platform.  And if we do
find this failing somewhere, we should fix the bogus eStateConnected,
not the test.

lldb/test/API/functionalities/signal/TestSendSignal.py

index 5808ca1..be74f00 100644 (file)
@@ -70,10 +70,6 @@ class SendSignalTestCase(TestBase):
         # Now continue:
         process.Continue()
 
-        # If running remote test, there should be a connected event
-        if lldb.remote_platform:
-            self.match_state(process_listener, lldb.eStateConnected)
-
         self.match_state(process_listener, lldb.eStateRunning)
 
         # Now signal the process, and make sure it stops: