Changeset 83129 in webkit


Ignore:
Timestamp:
Apr 6, 2011 6:37:24 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-06 Scott Cameron <sccameron@rim.com>

Reviewed by Eric Seidel.

Remove global variable $httpdPath and replace with the return value of
getHTTPDPath(). Also remove unnecessary calls to getHTTPDPath().
https://bugs.webkit.org/show_bug.cgi?id=53499

  • Scripts/run-iexploder-tests:
  • Scripts/webkitperl/httpd.pm:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r83121 r83129  
     12011-04-06  Scott Cameron  <sccameron@rim.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Remove global variable $httpdPath and replace with the return value of
     6        getHTTPDPath().  Also remove unnecessary calls to getHTTPDPath().
     7        https://bugs.webkit.org/show_bug.cgi?id=53499
     8
     9        * Scripts/run-iexploder-tests:
     10        * Scripts/webkitperl/httpd.pm:
     11
    1122011-04-06  Kevin Ollivier  <kevino@theolliviers.com>
    213
  • trunk/Tools/Scripts/run-iexploder-tests

    r74616 r83129  
    115115    return if $isHttpdOpen;
    116116    mkdir $iExploderTestDirectory;
    117     my $httpdPath = getHTTPDPath();
    118117    my $webkitDirectory = getcwd();
    119118    my $testDirectory = $webkitDirectory . "/LayoutTests";
  • trunk/Tools/Scripts/webkitperl/httpd.pm

    r79630 r83129  
    6464my $myLockFile;
    6565my $exclusiveLockFile = File::Spec->catfile($tmpDir, "WebKit.lock");
    66 my $httpdPath;
    6766my $httpdPidDir = File::Spec->catfile($tmpDir, "WebKit");
    6867my $httpdPidFile = File::Spec->catfile($httpdPidDir, "httpd.pid");
     
    7776sub getHTTPDPath
    7877{
     78    my $httpdPath;
    7979    if (isDebianBased()) {
    8080        $httpdPath = "/usr/sbin/apache2";
     
    131131    die "No test directory has been specified." unless ($testDirectory);
    132132    my $httpdConfig;
    133     getHTTPDPath();
     133    my $httpdPath = getHTTPDPath();
    134134    if (isCygwin()) {
    135135        my $windowsConfDirectory = "$testDirectory/http/conf/";
     
    174174    }
    175175
    176     $httpdPath = "/usr/sbin/httpd" unless ($httpdPath);
     176    my $httpdPath = getHTTPDPath();
    177177
    178178    open2(">&1", \*HTTPDIN, $httpdPath, @args);
Note: See TracChangeset for help on using the changeset viewer.