Changeset 204123 in webkit
- Timestamp:
- Aug 4, 2016, 10:02:42 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r204105 r204123 1 2016-08-04 Per Arne Vollan <pvollan@apple.com> 2 3 [Win] Unable to reliably run tests in parallel 4 https://bugs.webkit.org/show_bug.cgi?id=140914 5 6 Reviewed by Brent Fulgham. 7 8 The cygpath utility function can fail badly when running with multiple DumpRenderTree 9 processes. We can use string replacement to convert the Cygwin path to a Windows path 10 instead. 11 12 * Scripts/webkitpy/common/system/path.py: 13 (cygpathFast): 14 * Scripts/webkitpy/port/driver.py: 15 (Driver._command_from_driver_input): 16 1 17 2016-08-03 Aakash Jain <aakash_jain@apple.com> 2 18 -
trunk/Tools/Scripts/webkitpy/common/system/path.py
r202362 r204123 31 31 import atexit 32 32 import os 33 import re 33 34 import subprocess 34 35 import sys … … 51 52 return path 52 53 54 55 def cygpathFast(path): 56 """Converts an absolute cygwin path to an absolute Windows path with string replacement.""" 57 if sys.platform == 'cygwin': 58 path = re.sub('/cygdrive/c', 'c:', path) 59 path = re.sub('/', r'\\', path) 60 return path 53 61 54 62 # Note that this object is not threadsafe and must only be called -
trunk/Tools/Scripts/webkitpy/port/driver.py
r202743 r204123 457 457 command = self._port.abspath_for_test(driver_input.test_name) 458 458 if sys.platform == 'cygwin': 459 command = path.cygpath (command)459 command = path.cygpathFast(command) 460 460 461 461 assert not driver_input.image_hash or driver_input.should_run_pixel_test
Note:
See TracChangeset
for help on using the changeset viewer.