Workaround for simctl install failing to report install failure
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2017 00:15:44 +0000 (00:15 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2017 00:15:44 +0000 (00:15 +0000)
commit0317dc12fcb16f2b7d769f63b13a577918a9f876
tree9e2112f6e5e6872f9cd70362a7f34d2814e7e0b1
parent5c6a0758140140ecb1898561011e0249b23575f7
Workaround for simctl install failing to report install failure
https://bugs.webkit.org/show_bug.cgi?id=167654

Reviewed by Daniel Bates.

simctl install will sometimes report success even though install has failed.
To workaround this bug, we attempt an app launch after install to ensure
install has succeeded.

* Scripts/webkitpy/xcode/simulator.py:
(Device.install_app): Attempt app launch after install, retry install if launch fails.
(Device.launch_app): Correct comment.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@211457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/xcode/simulator.py