]> Cypherpunks repositories - gostls13.git/commit
misc/ios: timeout and continue waiting for getwd
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 25 Mar 2015 00:52:11 +0000 (20:52 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 25 Mar 2015 16:31:38 +0000 (16:31 +0000)
commited92862522d5630074e7830334d37af56c6264dc
tree540677747334769d64b13a21b46ac849da0a41c5
parentf279cadfa48073da2527e0b48bad08d5330ba623
misc/ios: timeout and continue waiting for getwd

Split out from cl/8024 for clarity and improved approach.

Rarely, "stop reason = breakpoint" does not appear in the lldb stop
text. However the program is ready to proceed. To be a little more
robust about those cases, we wait for two seconds, and if that text
doesn't appear but a prompt does we continue and hope for the best.
Worst case, this results in a harder to read failure message.

Change-Id: Ib20aa92564cdccefd2b7260417c647cd44122b66
Reviewed-on: https://go-review.googlesource.com/8080
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
misc/ios/go_darwin_arm_exec.go