Example #1
0
    def __init__(self, port, worker_number, pixel_tests, no_timeout=False):
        WebKitDriver.__init__(self, port, worker_number, pixel_tests, no_timeout)
        self._proc = None
        self._image_path = None

        # FIXME: Delete all of this driver code once we're satisfied that it's not needed any more.
        self._test_shell = '--test-shell' in port.get_option('additional_drt_flag', [])
Example #2
0
    def __init__(self, port, worker_number, pixel_tests, no_timeout=False):
        WebKitDriver.__init__(self, port, worker_number, pixel_tests,
                              no_timeout)
        self._proc = None
        self._image_path = None

        # FIXME: Delete all of this driver code once we're satisfied that it's not needed any more.
        self._test_shell = '--test-shell' in port.get_option(
            'additional_drt_flag', [])
Example #3
0
    def __init__(self, port, worker_number, pixel_tests, no_timeout=False):
        WebKitDriver.__init__(self, port, worker_number, pixel_tests, no_timeout)
        self._proc = None
        self._image_path = None

        # FIXME: Delete all of this driver code once we're satisfied that it's not needed any more.
        #if port.host.platform.os_version == 'snowleopard':
        #    if not hasattr(port._options, 'additional_drt_flag'):
        #        port._options.additional_drt_flag = []
        #    if not '--test-shell' in port._options.additional_drt_flag:
        #        port._options.additional_drt_flag.append('--test-shell')

        self._test_shell = '--test-shell' in port.get_option('additional_drt_flag', [])
Example #4
0
    def __init__(self, port, worker_number, pixel_tests, no_timeout=False):
        WebKitDriver.__init__(self, port, worker_number, pixel_tests, no_timeout)
        self._proc = None
        self._image_path = None

        # FIXME: Make the regular webkit driver work on win as well so we can delete all of this driver code.
        if port.host.platform.is_win():
            if not hasattr(port._options, 'additional_drt_flag'):
                port._options.additional_drt_flag = []
            if not '--test-shell' in port._options.additional_drt_flag:
                port._options.additional_drt_flag.append('--test-shell')

        self._test_shell = '--test-shell' in port.get_option('additional_drt_flag', [])
Example #5
0
    def __init__(self, port, worker_number, pixel_tests, no_timeout=False):
        WebKitDriver.__init__(self, port, worker_number, pixel_tests,
                              no_timeout)
        self._proc = None
        self._image_path = None

        # FIXME: Delete all of this driver code once we're satisfied that it's not needed any more.
        #if port.host.platform.os_version == 'snowleopard':
        #    if not hasattr(port._options, 'additional_drt_flag'):
        #        port._options.additional_drt_flag = []
        #    if not '--test-shell' in port._options.additional_drt_flag:
        #        port._options.additional_drt_flag.append('--test-shell')

        self._test_shell = '--test-shell' in port.get_option(
            'additional_drt_flag', [])
Example #6
0
    def __init__(self, port, worker_number, pixel_tests, no_timeout=False):
        WebKitDriver.__init__(self, port, worker_number, pixel_tests,
                              no_timeout)
        self._proc = None
        self._image_path = None

        # FIXME: Make the regular webkit driver work on win as well so we can delete all of this driver code.
        if port.host.platform.is_win():
            if not hasattr(port._options, 'additional_drt_flag'):
                port._options.additional_drt_flag = []
            if not '--test-shell' in port._options.additional_drt_flag:
                port._options.additional_drt_flag.append('--test-shell')

        self._test_shell = '--test-shell' in port.get_option(
            'additional_drt_flag', [])