Changeset 57524 in webkit
- Timestamp:
- Apr 13, 2010 11:00:07 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r57523 r57524 1 2010-04-13 Adam Roben <aroben@apple.com> 2 3 Fix run-webkit-tests on Windows with spaces in the path 4 5 Fixes <http://webkit.org/b/37509>. 6 7 Reviewed by Steve Falkenburg. 8 9 * Scripts/run-webkit-tests: 10 (convertPathUsingCygpath): Remove spaces from the path before passing 11 them to cygpath, then add them back in after conversion, as some 12 versions of cygpath seem to convert spaces into newlines. 13 1 14 2010-04-13 Adam Barth <abarth@webkit.org> 2 15 -
trunk/WebKitTools/Scripts/run-webkit-tests
r57523 r57524 1669 1669 my ($path, $options) = @_; 1670 1670 1671 # cygpath -f (at least in Cygwin 1.7) converts spaces into newlines. We remove spaces here and 1672 # add them back in after conversion to work around this. 1673 my $spaceSubstitute = "__NOTASPACE__"; 1674 $path =~ s/ /\Q$spaceSubstitute\E/g; 1675 1671 1676 my $cygpath = openCygpathIfNeeded($options); 1672 1677 local *inFH = $cygpath->{"in"}; … … 1675 1680 my $convertedPath = <inFH>; 1676 1681 chomp($convertedPath) if defined $convertedPath; 1682 1683 $convertedPath =~ s/\Q$spaceSubstitute\E/ /g; 1677 1684 return $convertedPath; 1678 1685 }
Note: See TracChangeset
for help on using the changeset viewer.