Skip to content

Commit 68a4e8e

Browse files
Merge pull request #10022 from adrian-prantl/cherry-pick-next-Make-test-more-robust-in-failure-cases
[Cherry-pick into next] Make test more robust in failure cases
2 parents 4c0692b + ebedfb6 commit 68a4e8e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/test/API/lang/swift/async/frame/language_specific_data/TestSwiftAsyncLanguageSpecificData.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def test(self):
2727

2828
while process.state == lldb.eStateStopped:
2929
thread = process.GetSelectedThread()
30+
if thread.GetStopReason() != lldb.eStopReasonBreakpoint:
31+
break
3032
frame = thread.frames[0]
3133
# Spin up the compiler so it can answer the explicit modules question.
3234
self.expect("expression 1")

0 commit comments

Comments
 (0)