Title: [201812] trunk/Tools
- Revision
- 201812
- Author
- aakash_j...@apple.com
- Date
- 2016-06-08 11:03:08 -0700 (Wed, 08 Jun 2016)
Log Message
Don't try to cleanup non-existing ios Simulators
https://bugs.webkit.org/show_bug.cgi?id=158510
Reviewed by Alexey Proskuryakov.
* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.clean_up_test_run):
Check if simulator exists before trying to clean it up.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (201811 => 201812)
--- trunk/Tools/ChangeLog 2016-06-08 17:46:06 UTC (rev 201811)
+++ trunk/Tools/ChangeLog 2016-06-08 18:03:08 UTC (rev 201812)
@@ -1,3 +1,14 @@
+2016-06-08 Aakash Jain <aakash_j...@apple.com>
+
+ Don't try to cleanup non-existing ios Simulators
+ https://bugs.webkit.org/show_bug.cgi?id=158510
+
+ Reviewed by Alexey Proskuryakov.
+
+ * Scripts/webkitpy/port/ios.py:
+ (IOSSimulatorPort.clean_up_test_run):
+ Check if simulator exists before trying to clean it up.
+
2016-06-08 Brady Eidson <beid...@apple.com>
Try to fix the Windows build.
Modified: trunk/Tools/Scripts/webkitpy/port/ios.py (201811 => 201812)
--- trunk/Tools/Scripts/webkitpy/port/ios.py 2016-06-08 17:46:06 UTC (rev 201811)
+++ trunk/Tools/Scripts/webkitpy/port/ios.py 2016-06-08 18:03:08 UTC (rev 201812)
@@ -254,6 +254,8 @@
pass
for i in xrange(self.child_processes()):
+ if not os.path.exists(self.get_simulator_path(i)):
+ continue
try:
subprocess.call([self.LSREGISTER_PATH, "-v", "-u", self.get_simulator_path(i)])
shutil.rmtree(self.get_simulator_path(i), ignore_errors=True)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes