Changeset 154739 in webkit


Ignore:
Timestamp:
Aug 28, 2013 6:21:55 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

Http tests fails on Debian with Apache 2.4
https://bugs.webkit.org/show_bug.cgi?id=120352

Unreviewed fix-up.

Remember to update unit-test expectations and old-run-webkit-tests as well.

  • Scripts/webkitperl/httpd.pm:

(getHTTPDConfigPathForTestDirectory):

  • Scripts/webkitpy/port/port_testcase.py:

(test_apache_config_file_name_for_platform):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r154736 r154739  
     12013-08-28  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        Http tests fails on Debian with Apache 2.4
     4        https://bugs.webkit.org/show_bug.cgi?id=120352
     5
     6        Unreviewed fix-up.
     7
     8        Remember to update unit-test expectations and old-run-webkit-tests as well.
     9
     10        * Scripts/webkitperl/httpd.pm:
     11        (getHTTPDConfigPathForTestDirectory):
     12        * Scripts/webkitpy/port/port_testcase.py:
     13        (test_apache_config_file_name_for_platform):
     14
    1152013-08-28  Allan Sandfeld Jensen  <allan.jensen@digia.com>
    216
  • trunk/Tools/Scripts/webkitperl/httpd.pm

    r140224 r154739  
    157157        $httpdConfig = "cygwin-httpd.conf";  # This is an apache 1.3 config.
    158158    } elsif (isDebianBased()) {
    159         $httpdConfig = "apache2-debian-httpd.conf";
     159        $httpdConfig = "debian-httpd-$apacheVersion.conf";
    160160    } elsif (isFedoraBased()) {
    161161        $httpdConfig = "fedora-httpd-$apacheVersion.conf";
  • trunk/Tools/Scripts/webkitpy/port/port_testcase.py

    r150615 r154739  
    570570        port = TestWebKitPort()
    571571        port._is_debian_based = lambda: True
    572         self._assert_config_file_for_platform(port, 'linux2', 'apache2-debian-httpd.conf')
     572        port._apache_version = lambda: '2.2'
     573        self._assert_config_file_for_platform(port, 'linux2', 'debian-httpd-2.2.conf')
    573574
    574575        self._assert_config_file_for_platform(port, 'mac', 'apache2-httpd.conf')
Note: See TracChangeset for help on using the changeset viewer.