diff options
author | Shimeng (Simon) Wang <swang@google.com> | 2010-12-07 17:22:45 -0800 |
---|---|---|
committer | Shimeng (Simon) Wang <swang@google.com> | 2010-12-22 14:15:40 -0800 |
commit | 4576aa36e9a9671459299c7963ac95aa94beaea9 (patch) | |
tree | 3863574e050f168c0126ecb47c83319fab0972d8 /WebKitTools/Scripts/run-javascriptcore-tests | |
parent | 55323ac613cc31553107b68603cb627264d22bb0 (diff) | |
download | external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.zip external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.gz external_webkit-4576aa36e9a9671459299c7963ac95aa94beaea9.tar.bz2 |
Merge WebKit at r73109: Initial merge by git.
Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
Diffstat (limited to 'WebKitTools/Scripts/run-javascriptcore-tests')
-rwxr-xr-x | WebKitTools/Scripts/run-javascriptcore-tests | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/WebKitTools/Scripts/run-javascriptcore-tests b/WebKitTools/Scripts/run-javascriptcore-tests index fb4c388..cbf8cbc 100755 --- a/WebKitTools/Scripts/run-javascriptcore-tests +++ b/WebKitTools/Scripts/run-javascriptcore-tests @@ -108,7 +108,7 @@ sub testapiPath($) { my ($productDir) = @_; my $jscName = "testapi"; - $jscName .= "_debug" if (isCygwin() && ($configuration eq "Debug")); + $jscName .= "_debug" if configurationForVisualStudio() eq "Debug_All"; return "$productDir/$jscName"; } @@ -116,7 +116,10 @@ sub testapiPath($) if (isAppleMacWebKit() || isAppleWinWebKit()) { chdirWebKit(); chdir($productDir) or die; - my $testapiResult = system testapiPath($productDir); + my $path = testapiPath($productDir); + # Use an "indirect object" so that system() won't get confused if the path + # contains spaces (see perldoc -f exec). + my $testapiResult = system { $path } $path; exit exitStatus($testapiResult) if $testapiResult; } |