RESOLVED INVALID 33757
Reduce duplication in run-webkit-httpd and run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=33757
Summary Reduce duplication in run-webkit-httpd and run-webkit-tests
Holger Freyther
Reported 2010-01-15 22:10:16 PST
Created attachment 46737 [details] Patch Currently both scripts have code to figure out the name of the apache2 executable and which configuration file to use for the server. I'm currently in the process of making run-iexploder-tests work for everyone else and would have to copy the code again. Instead of copying it to the iexploder-tests script I'm copying it to webkitdirs.pm and make both existing scripts use the new method to figure out httpdPath and httpdConfiguration.
Attachments
Patch (5.74 KB, patch)
2010-01-15 22:10 PST, Holger Freyther
darin: review+
Darin Adler
Comment 1 2010-01-16 11:50:37 PST
Comment on attachment 46737 [details] Patch I don't feel great about this -- the webktidirs.pm file is getting bigger and bigger with no clear concept of what it does and does not do! r=me
Holger Freyther
Comment 2 2010-01-16 21:34:46 PST
(In reply to comment #1) > (From update of attachment 46737 [details]) > I don't feel great about this -- the webktidirs.pm file is getting bigger and > bigger with no clear concept of what it does and does not do! Well, then let us get the concept? Should I write to webkit-dev about it? I think python vs. perl is also playing a role here?
Eric Seidel (no email)
Comment 3 2010-02-01 16:12:18 PST
Attachment 46737 [details] was posted by a committer and has review+, assigning to Holger Freyther for commit.
Alexey Proskuryakov
Comment 4 2010-02-02 12:15:56 PST
We also have WebKitTools/Scripts/webkitperl/httpd.pm now - could it be a better place to move this code to?
Holger Freyther
Comment 5 2010-02-03 05:39:08 PST
(In reply to comment #4) > We also have WebKitTools/Scripts/webkitperl/httpd.pm now - could it be a better > place to move this code to? I think most of this is deprecated anyway. I will close this now and come up with a patch for run-iexploder-tests.
Note You need to log in before you can comment on or make changes to this bug.