Changeset 197227 in webkit
- Timestamp:
- Feb 26, 2016, 6:53:44 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/port/image_diff.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r197225 r197227 1 2016-02-26 Alexey Proskuryakov <ap@apple.com> 2 3 [iOS Simulator] Reftests don't work 4 https://bugs.webkit.org/show_bug.cgi?id=154764 5 6 Reviewed by Daniel Bates. 7 8 * Scripts/webkitpy/port/image_diff.py: (IOSSimulatorImageDiffer._start): 9 Use simctl instead of sim. 10 1 11 2016-02-26 Chris Dumez <cdumez@apple.com> 2 12 -
trunk/Tools/Scripts/webkitpy/port/image_diff.py
r173452 r197227 118 118 class IOSSimulatorImageDiffer(ImageDiffer): 119 119 def _start(self, tolerance): 120 command = ['xcrun', '-sdk', 'iphonesimulator', 'sim', '--environment=preserve', '--adopt-pid', self._port._path_to_image_diff(), '--tolerance', str(tolerance)] 120 # FIXME: Using "booted" is not 100% correct, we should use a device ID that we created. 121 # FIXME: Is it a problem that ImageDiff and simctl remain separate processes? This code used to pass --adopt-pid to sim tool. 122 # We should probably just build and use a host version of ImageDiff instead of a simulator one to solve both. 123 command = ['xcrun', '-sdk', 'iphonesimulator', 'simctl', 'spawn', 'booted', self._port._path_to_image_diff(), '--tolerance', str(tolerance)] 121 124 environment = self._port.setup_environ_for_server('ImageDiff') 122 125 self._process = self._port._server_process_constructor(self._port, 'ImageDiff', command, environment)
Note:
See TracChangeset
for help on using the changeset viewer.