Title: [194569] trunk/Tools
Revision
194569
Author
aakash_j...@apple.com
Date
2016-01-04 18:16:48 -0800 (Mon, 04 Jan 2016)

Log Message

error running layout tests on iOS simulator on latest build
https://bugs.webkit.org/show_bug.cgi?id=152719
<rdar://problem/24009549>

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/xcode/simulator.py:
(Simulator.wait_until_device_is_booted): Ensure that simulator device is in booted state
  before running simctl spawn command.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (194568 => 194569)


--- trunk/Tools/ChangeLog	2016-01-05 01:48:00 UTC (rev 194568)
+++ trunk/Tools/ChangeLog	2016-01-05 02:16:48 UTC (rev 194569)
@@ -1,3 +1,15 @@
+2016-01-04  Aakash Jain  <aakash_j...@apple.com>
+
+        error running layout tests on iOS simulator on latest build
+        https://bugs.webkit.org/show_bug.cgi?id=152719
+        <rdar://problem/24009549>
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitpy/xcode/simulator.py:
+        (Simulator.wait_until_device_is_booted): Ensure that simulator device is in booted state
+          before running simctl spawn command.
+
 2016-01-03  Michael Catanzaro  <mcatanz...@igalia.com>
 
         Unreviewed, move Frédéric Wang to committers list

Modified: trunk/Tools/Scripts/webkitpy/xcode/simulator.py (194568 => 194569)


--- trunk/Tools/Scripts/webkitpy/xcode/simulator.py	2016-01-05 01:48:00 UTC (rev 194568)
+++ trunk/Tools/Scripts/webkitpy/xcode/simulator.py	2016-01-05 02:16:48 UTC (rev 194569)
@@ -275,6 +275,7 @@
 
     @staticmethod
     def wait_until_device_is_booted(udid, timeout_seconds=60 * 5):
+        Simulator.wait_until_device_is_in_state(udid, Simulator.DeviceState.BOOTED, timeout_seconds)
         with timeout(seconds=timeout_seconds):
             while True:
                 state = subprocess.check_output(['xcrun', 'simctl', 'spawn', udid, 'launchctl', 'print', 'system']).strip()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to