Title: [194196] trunk/Tools
Revision
194196
Author
[email protected]
Date
2015-12-16 17:16:49 -0800 (Wed, 16 Dec 2015)

Log Message

run-webkit-tests fails to delete Simulator device during cleanup
https://bugs.webkit.org/show_bug.cgi?id=152363

Patch by Aakash Jain <[email protected]> on 2015-12-16
Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/xcode/simulator.py:
(Simulator.delete_device): Ensure that device is Shutdown before deleting it.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (194195 => 194196)


--- trunk/Tools/ChangeLog	2015-12-17 01:14:10 UTC (rev 194195)
+++ trunk/Tools/ChangeLog	2015-12-17 01:16:49 UTC (rev 194196)
@@ -1,3 +1,13 @@
+2015-12-16  Aakash Jain  <[email protected]>
+
+        run-webkit-tests fails to delete Simulator device during cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=152363
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitpy/xcode/simulator.py:
+        (Simulator.delete_device): Ensure that device is Shutdown before deleting it.
+
 2015-12-16  Tim Horton  <[email protected]>
 
         [mac-wk2] fast/events force click tests crashing

Modified: trunk/Tools/Scripts/webkitpy/xcode/simulator.py (194195 => 194196)


--- trunk/Tools/Scripts/webkitpy/xcode/simulator.py	2015-12-17 01:14:10 UTC (rev 194195)
+++ trunk/Tools/Scripts/webkitpy/xcode/simulator.py	2015-12-17 01:16:49 UTC (rev 194196)
@@ -300,6 +300,7 @@
         return os.path.realpath(os.path.expanduser(os.path.join('~/Library/Developer/CoreSimulator/Devices', udid)))
 
     def delete_device(self, udid):
+        Simulator.wait_until_device_is_in_state(udid, Simulator.DeviceState.SHUTDOWN)
         Device.delete(udid)
 
     def refresh(self):
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to