Changeset 73873 in webkit


Ignore:
Timestamp:
Dec 12, 2010 3:46:01 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-12-12 Alejandro G. Castro <alex@igalia.com>

Reviewed by Eric Seidel.

[GTK] Add new-run-webkit-tests support to gtk
https://bugs.webkit.org/show_bug.cgi?id=50681

Adding the basic support to run the new-run-webkit-tests.

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

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r73862 r73873  
     12010-12-12  Alejandro G. Castro  <alex@igalia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [GTK] Add new-run-webkit-tests support to gtk
     6        https://bugs.webkit.org/show_bug.cgi?id=50681
     7
     8        Adding the basic support to run the new-run-webkit-tests.
     9
     10        * Scripts/webkitpy/layout_tests/port/gtk.py:
     11
    1122010-10-11  Diego Gonzalez  <diegohcg@webkit.org>
    213
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/gtk.py

    r68008 r73873  
    3131import logging
    3232import os
     33import signal
    3334
    3435from webkitpy.layout_tests.port.webkit import WebKitPort
     
    8283                # 'killall' web servers.
    8384                self._shut_down_http_server(None)
     85
     86    def _path_to_driver(self):
     87        return self._build_path('Programs', 'DumpRenderTree')
     88
     89    def check_build(self, needs_http):
     90        if not self._check_driver():
     91            return False
     92        return True
     93
     94    def _path_to_apache(self):
     95        if self._is_redhat_based():
     96            return '/usr/sbin/httpd'
     97        else:
     98            return '/usr/sbin/apache2'
     99
     100    def _path_to_apache_config_file(self):
     101        if self._is_redhat_based():
     102            config_name = 'fedora-httpd.conf'
     103        else:
     104            config_name = 'apache2-debian-httpd.conf'
     105
     106        return os.path.join(self.layout_tests_dir(), 'http', 'conf',
     107                            config_name)
     108
     109    def _path_to_wdiff(self):
     110        if self._is_redhat_based():
     111            return '/usr/bin/dwdiff'
     112        else:
     113            return '/usr/bin/wdiff'
     114
     115    def _is_redhat_based(self):
     116        return os.path.exists(os.path.join('/etc', 'redhat-release'))
Note: See TracChangeset for help on using the changeset viewer.