Bug 47961 - Get old-run-webkit-tests mostly working with Win32 Perl
Summary: Get old-run-webkit-tests mostly working with Win32 Perl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Adam Roben (:aroben)
URL:
Keywords:
Depends on:
Blocks: 48166
  Show dependency treegraph
 
Reported: 2010-10-19 18:07 PDT by Adam Roben (:aroben)
Modified: 2010-10-22 17:26 PDT (History)
2 users (show)

See Also:


Attachments
Patch (19.69 KB, patch)
2010-10-19 18:10 PDT, Adam Roben (:aroben)
ddkilzer: review+
ddkilzer: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-10-19 18:07:39 PDT
Get old-run-webkit-tests mostly working with Win32 Perl
Comment 1 Adam Roben (:aroben) 2010-10-19 18:10:36 PDT
Created attachment 71237 [details]
Patch
Comment 2 David Kilzer (:ddkilzer) 2010-10-19 21:05:01 PDT
Comment on attachment 71237 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=71237&action=review

r=me

> WebKitTools/Scripts/old-run-webkit-tests:417
> +    $dumpToolName .= ".exe";

Optional:  I think there is a Perl-ish way to get the executable extension via built-in variable or via the Config module ($Config{_exe}).

> WebKitTools/Scripts/old-run-webkit-tests:1331
> +    unshift @{$args}, "perl", $execScript;

It would be a good idea to extract all of these "perl" strings into a global variable.  It will make it easier to replace them or update them later.

> WebKitTools/Scripts/webkitdirs.pm:1082
> +    print $vcBuildPath, "\n";

Debug print statement?
Comment 3 Adam Roben (:aroben) 2010-10-20 15:25:14 PDT
Comment on attachment 71237 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=71237&action=review

>> WebKitTools/Scripts/old-run-webkit-tests:417
>> +    $dumpToolName .= ".exe";
> 
> Optional:  I think there is a Perl-ish way to get the executable extension via built-in variable or via the Config module ($Config{_exe}).

OK, I'll use $Config{_exe}. I couldn't find a built-in variable that would give us the string.

>> WebKitTools/Scripts/old-run-webkit-tests:1331
>> +    unshift @{$args}, "perl", $execScript;
> 
> It would be a good idea to extract all of these "perl" strings into a global variable.  It will make it easier to replace them or update them later.

Sounds good. I'll use a $perlInterpreter global variable.

>> WebKitTools/Scripts/webkitdirs.pm:1082
>> +    print $vcBuildPath, "\n";
> 
> Debug print statement?

Indeed! Good catch. Removed.
Comment 4 Adam Roben (:aroben) 2010-10-20 16:14:24 PDT
Committed r70188: <http://trac.webkit.org/changeset/70188>