[Lldb-commits] [lldb] [lldb-dap] add timeout to spawn_and_wait test utility (PR #174461)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 5 10:58:14 PST 2026
================
@@ -25,10 +26,15 @@ def spawn(self, program, args=None):
)
def spawn_and_wait(self, program, delay):
+ SPAWN_AND_WAIT_TIMEOUT = 900
time.sleep(delay)
proc = self.spawn(program=program)
- # Wait for either the process to exit or the event to be set
+ start_time = datetime.now()
----------------
charles-zablit wrote:
I switched to using `time.time()`, this is better 👍
https://github.com/llvm/llvm-project/pull/174461
More information about the lldb-commits
mailing list