Workaround for simctl launch bug
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2017 04:50:40 +0000 (04:50 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2017 04:50:40 +0000 (04:50 +0000)
commit13370df230815236c8ec5ec6d1bf51b246bc9636
treee4723b9411f14c2318e24cac0a9b7be88b135ba5
parent6ee9a3cbb516b44a4e4e10424b04cab5b6cb8c34
Workaround for simctl launch bug
https://bugs.webkit.org/show_bug.cgi?id=167613

Reviewed by Daniel Bates.

simctl launch will sometimes fail because of a race condition when many
simulators are being run simultaneously. These failures will always have
an exit code of 1. This change attempts to launch an app multiple times
before reporting a failure to workaround this bug.

* Scripts/webkitpy/xcode/simulator.py:
(Device.launch_app): Execute multiple launch attempts, better logging of failures.

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