Changeset 251793 in webkit


Ignore:
Timestamp:
Oct 30, 2019 12:43:36 PM (4 years ago)
Author:
Jonathan Bedard
Message:

Simulator testers are filling up
https://bugs.webkit.org/show_bug.cgi?id=203056
<rdar://problem/56344905>

Reviewed by Aakash Jain.

  • Scripts/webkitpy/xcode/simulated_device.py:

(SimulatedDeviceManager.tear_down): Remove some CoreSimulator temporary directories
after tearing down devices.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r251790 r251793  
     12019-10-30  Jonathan Bedard  <jbedard@apple.com>
     2
     3        Simulator testers are filling up
     4        https://bugs.webkit.org/show_bug.cgi?id=203056
     5        <rdar://problem/56344905>
     6
     7        Reviewed by Aakash Jain.
     8
     9        * Scripts/webkitpy/xcode/simulated_device.py:
     10        (SimulatedDeviceManager.tear_down): Remove some CoreSimulator temporary directories
     11        after tearing down devices.
     12
    1132019-10-30  Mark Lam  <mark.lam@apple.com>
    214
  • trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py

    r251608 r251793  
    480480        SimulatedDeviceManager.INITIALIZED_DEVICES = None
    481481
     482        # If we were managing the simulator, there are some cache files we need to remove
     483        for directory in host.filesystem.glob('/tmp/com.apple.CoreSimulator.SimDevice.*'):
     484            host.filesystem.rmtree(directory)
     485        core_simulator_directory = host.filesystem.expanduser(host.filesystem.join('~', 'Library', 'Developer', 'CoreSimulator'))
     486        host.filesystem.rmtree(host.filesystem.join(core_simulator_directory, 'Caches'))
     487        host.filesystem.rmtree(host.filesystem.join(core_simulator_directory, 'Temp'))
     488
    482489
    483490class SimulatedDevice(object):
Note: See TracChangeset for help on using the changeset viewer.