forked from OSchip/llvm-project
Fix final wait in ExprSyscallTestCase for aarch64
llvm-svn: 241435
This commit is contained in:
parent
8d53464472
commit
b8d2e9e309
|
@ -77,8 +77,10 @@ class ExprSyscallTestCase(TestBase):
|
|||
process.Continue()
|
||||
|
||||
# process all events
|
||||
while listener.WaitForEvent(1, event):
|
||||
pass
|
||||
while listener.WaitForEvent(10, event):
|
||||
new_state = lldb.SBProcess.GetStateFromEvent(event)
|
||||
if new_state == lldb.eStateExited:
|
||||
break
|
||||
|
||||
self.assertEqual(process.GetState(), lldb.eStateExited)
|
||||
self.assertEqual(process.GetExitStatus(), 0)
|
||||
|
|
Loading…
Reference in New Issue