Skip to content
Permalink
Browse files
Logs/CoreSimulator filling up OS disk on WebKit testers
https://bugs.webkit.org/show_bug.cgi?id=153853
<rdar://problem/24496003>

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.clean_up_test_run): Delete Logs during cleanup.


Canonical link: https://commits.webkit.org/171956@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aj062 committed Feb 4, 2016
1 parent 5c7ab35 commit 6b3d8956848bf177c37977946400c1fbf1d6d131
Showing with 13 additions and 0 deletions.
  1. +11 −0 Tools/ChangeLog
  2. +2 −0 Tools/Scripts/webkitpy/port/ios.py
@@ -1,3 +1,14 @@
2016-02-03 Aakash Jain <aakash_jain@apple.com>

Logs/CoreSimulator filling up OS disk on WebKit testers
https://bugs.webkit.org/show_bug.cgi?id=153853
<rdar://problem/24496003>

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.clean_up_test_run): Delete Logs during cleanup.

2016-02-03 Brian Burg <bburg@apple.com>

git-add-reviewer should work when run from a subdirectory within the repository
@@ -257,6 +257,8 @@ def clean_up_test_run(self):
try:
subprocess.call([self.LSREGISTER_PATH, "-v", "-u", self.get_simulator_path(i)])
shutil.rmtree(self.get_simulator_path(i), ignore_errors=True)
shutil.rmtree(os.path.join(os.path.expanduser("~"), "Library/Logs/CoreSimulator/",
self.testing_device(i).udid), ignore_errors=True)
Simulator().delete_device(self.testing_device(i).udid)
except:
_log.warning('Unable to remove Simulator' + str(i))

0 comments on commit 6b3d895

Please sign in to comment.