Currently when running layouts tests, clean-up only occurs if setup has been successful. If setup throws an exception, this can result in file or programs left running. This is of particular concern for something like an iOS Simulator. We should run teardown even if setup throws an exception and we should teardown all devices even if one or more of them throws an exception while being torn down.
<rdar://problem/31329367>
Created attachment 305782 [details] Patch
EWS failure is unrelated to this patch and is a problem on the bot.
Comment on attachment 305782 [details] Patch Clearing flags on attachment: 305782 Committed r214569: <http://trac.webkit.org/changeset/214569>
All reviewed patches have been landed. Closing bug.
https://trac.webkit.org/changeset/214698/webkit has a minor fix to this patch.