Changeset 55903 in webkit


Ignore:
Timestamp:
Mar 12, 2010 8:02:19 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-12 Adam Langley <agl@chromium.org>

Reviewed by Dimitri Glazkov.

[chromium]: update Linux layout test scripts for RedHat like systems.

(Tested on Fedora 12.)

https://bugs.webkit.org/show_bug.cgi?id=35867

  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r55898 r55903  
     12010-03-12  Adam Langley  <agl@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        [chromium]: update Linux layout test scripts for RedHat like systems.
     6
     7        (Tested on Fedora 12.)
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=35867
     10
     11        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
     12
    1132010-03-12  Adam Roben  <aroben@apple.com>
    214
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium_linux.py

    r55603 r55903  
    146146
    147147    def _path_to_apache(self):
    148         return '/usr/sbin/apache2'
     148        if self._is_redhat_based():
     149            return '/usr/sbin/httpd'
     150        else:
     151            return '/usr/sbin/apache2'
    149152
    150153    def _path_to_apache_config_file(self):
     154        if self._is_redhat_based():
     155            config_name = 'fedora-httpd.conf'
     156        else:
     157            config_name = 'apache2-debian-httpd.conf'
     158
    151159        return os.path.join(self.layout_tests_dir(), 'http', 'conf',
    152                             'apache2-debian-httpd.conf')
     160                            config_name)
    153161
    154162    def _path_to_lighttpd(self):
     
    173181
    174182    def _path_to_wdiff(self):
    175         return '/usr/bin/wdiff'
     183        if self._is_redhat_based():
     184            return '/usr/bin/dwdiff'
     185        else:
     186            return '/usr/bin/wdiff'
     187
     188    def _is_redhat_based(self):
     189        return os.path.exists(os.path.join('/etc', 'redhat-release'))
    176190
    177191    def _shut_down_http_server(self, server_pid):
Note: See TracChangeset for help on using the changeset viewer.