Ejemplo n.º 1
0
 def __init__(self, symbols_string=None,
              expectations_file=None, skips_file=None, host=None, config=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     host = host or MockSystemHost()
     config = config or MockConfig()
     WebKitPort.__init__(self, host=host, config=config, **kwargs)
Ejemplo n.º 2
0
    def __init__(self, *args, **kwargs):
        WebKitPort.__init__(self, *args, **kwargs)

        self._jhbuild_wrapper_path = self.path_from_webkit_base(
            'Tools', 'efl', 'run-with-jhbuild')

        self.set_option_default('wrapper', self._jhbuild_wrapper_path)
Ejemplo n.º 3
0
 def __init__(self, symbols_string=None, feature_list=None,
              expectations_file=None, skips_file=None, host=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     self.feature_list = feature_list  # Passing [] disables all runtime-detectable features.
     host = host or MockSystemHost()
     WebKitPort.__init__(self, host=host, **kwargs)
Ejemplo n.º 4
0
 def __init__(self, symbol_list=None, feature_list=None,
              expectations_file=None, skips_file=None, **kwargs):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     self.expectations_file = expectations_file
     self.skips_file = skips_file
     WebKitPort.__init__(self, **kwargs)
Ejemplo n.º 5
0
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        allowed_port_names = self.VERSION_FALLBACK_ORDER + [self.operating_system() + "-future"]
        port_name = port_name.replace('-wk2', '')
        assert port_name in allowed_port_names, "%s is not in %s" % (port_name, allowed_port_names)
        self._version = self._strip_port_name_prefix(port_name)
Ejemplo n.º 6
0
 def __init__(self, symbols_string=None,
              expectations_file=None, skips_file=None, host=None, config=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     host = host or MockSystemHost()
     config = config or MockConfig()
     WebKitPort.__init__(self, host=host, config=config, **kwargs)
 def __init__(self, symbol_list=None, feature_list=None,
              expectations_file=None, skips_file=None, **kwargs):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     self.expectations_file = expectations_file
     self.skips_file = skips_file
     WebKitPort.__init__(self, **kwargs)
Ejemplo n.º 8
0
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        allowed_port_names = self.VERSION_FALLBACK_ORDER + [self.operating_system() + "-future"]
        port_name = port_name.replace('-wk2', '')
        assert port_name in allowed_port_names, "%s is not in %s" % (port_name, allowed_port_names)
        self._version = self._strip_port_name_prefix(port_name)
Ejemplo n.º 9
0
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        self._operating_system = port_name.replace('qt-', '')

        # FIXME: Why is this being set at all?
        self._version = self.operating_system()
Ejemplo n.º 10
0
    def __init__(self, *args, **kwargs):
        WebKitPort.__init__(self, *args, **kwargs)

#if ENABLE(TIZEN_WEBKIT2_EFL_WTR)
# Please do not enable jhbuild since Tizen is not using it
        #self._jhbuild_wrapper_path = self.path_from_webkit_base('Tools', 'efl', 'run-with-jhbuild')
        #self.set_option_default('wrapper', self._jhbuild_wrapper_path)
#endif
        self.webprocess_cmd_prefix = self.get_option('webprocess_cmd_prefix')
Ejemplo n.º 11
0
    def __init__(self, host, port_name, **kwargs):
        WebKitPort.__init__(self, host, port_name, **kwargs)

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        self._operating_system = port_name.replace('qt-', '')

        # FIXME: Why is this being set at all?
        self._version = self.operating_system()
Ejemplo n.º 12
0
 def __init__(self, symbol_list=None, feature_list=None,
              expectations_file=None, skips_file=None,
              executive=None, filesystem=None, user=None,
              **kwargs):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     executive = executive or MockExecutive(should_log=False)
     filesystem = filesystem or MockFileSystem()
     user = user or MockUser()
     WebKitPort.__init__(self, executive=executive, filesystem=filesystem, user=MockUser(), **kwargs)
Ejemplo n.º 13
0
    def __init__(self, port_name=None, os_version_string=None, **kwargs):
        port_name = port_name or 'mac'

        if port_name == 'mac':
            self._version = os_version(os_version_string)
            port_name = port_name + '-' + self._version
        else:
            self._version = port_name[4:]
            assert self._version in self.SUPPORTED_VERSIONS

        WebKitPort.__init__(self, port_name=port_name, **kwargs)
Ejemplo n.º 14
0
    def __init__(self, sys_platform=None, **kwargs):
        WebKitPort.__init__(self, **kwargs)
        self._operating_system = self._operating_system_for_platform(sys_platform or sys.platform)
        self._version = self._operating_system

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        name_components = [self.port_name]
        if self._operating_system:
            name_components.append(self._operating_system)
        self._name = "-".join(name_components)
Ejemplo n.º 15
0
 def __init__(self,
              symbols_string=None,
              feature_list=None,
              expectations_file=None,
              skips_file=None,
              host=None,
              **kwargs):
     self.symbols_string = symbols_string  # Passing "" disables all staticly-detectable features.
     self.feature_list = feature_list  # Passing [] disables all runtime-detectable features.
     host = host or MockHost()
     WebKitPort.__init__(self, host=host, **kwargs)
Ejemplo n.º 16
0
 def __init__(self, port_name=None, os_version_string=None, **kwargs):
     port_name = port_name or 'mac'
     WebKitPort.__init__(self, port_name=port_name, **kwargs)
     if port_name == 'mac':
         self._version = os_version(os_version_string)
         self._name = port_name + '-' + self._version
     else:
         self._version = port_name[4:]
         assert self._version in self.SUPPORTED_VERSIONS
     self._operating_system = 'mac'
     if not hasattr(self._options, 'time-out-ms') or self._options.time_out_ms is None:
         self._options.time_out_ms = 35000
Ejemplo n.º 17
0
    def __init__(self, sys_platform=None, **kwargs):
        WebKitPort.__init__(self, **kwargs)
        self._operating_system = self._operating_system_for_platform(
            sys_platform or sys.platform)
        self._version = self._operating_system

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.
        name_components = [self.port_name]
        if self._operating_system:
            name_components.append(self._operating_system)
        self._name = "-".join(name_components)
Ejemplo n.º 18
0
    def __init__(self, host, port_name=None, **kwargs):
        port_name = port_name or self.port_name
        WebKitPort.__init__(self, host, port_name=None, **kwargs)
        self._operating_system = host.platform.os_name
        self._version = self.operating_system()

        # FIXME: This will allow WebKitPort.baseline_search_path and WebKitPort._skipped_file_search_paths
        # to do the right thing, but doesn't include support for qt-4.8 or qt-arm (seen in LayoutTests/platform) yet.

        if port_name != self.port_name:
            self._name = port_name
        else:
            name_components = [self.port_name]
            if self.operating_system():
                name_components.append(self.operating_system())
            self._name = "-".join(name_components)
Ejemplo n.º 19
0
    def __init__(self, host, port_name=None, os_version_string=None, **kwargs):
        port_name = port_name or self.port_name
        WebKitPort.__init__(self, host, port_name=port_name, **kwargs)

        # FIXME: This sort of parsing belongs in factory.py!
        if port_name == '%s-wk2' % self.port_name:
            port_name = self.port_name
            # FIXME: This may be wrong, since options is a global property, and the port_name is specific to this object?
            self.set_option_default('webkit_test_runner', True)

        if port_name == self.port_name:
            self._version = self._detect_version(os_version_string) or self.FUTURE_VERSION
            self._name = self.port_name + '-' + self._version
        else:
            assert port_name in self.VERSION_FALLBACK_ORDER, "%s is not in %s" % (port_name, self.VERSION_FALLBACK_ORDER)
            self._version = self._strip_port_name_prefix(port_name)
Ejemplo n.º 20
0
 def __init__(
     self,
     symbol_list=None,
     feature_list=None,
     expectations_file=None,
     skips_file=None,
     executive=None,
     filesystem=None,
     user=None,
     **kwargs
 ):
     self.symbol_list = symbol_list
     self.feature_list = feature_list
     executive = executive or MockExecutive(should_log=False)
     filesystem = filesystem or MockFileSystem()
     user = user or MockUser()
     WebKitPort.__init__(self, executive=executive, filesystem=filesystem, user=MockUser(), **kwargs)
Ejemplo n.º 21
0
    def __init__(self, host, port_name=None, os_version_string=None, **kwargs):
        port_name = port_name or self.port_name
        WebKitPort.__init__(self, host, port_name=port_name, **kwargs)

        # FIXME: This sort of parsing belongs in factory.py!
        if port_name == '%s-wk2' % self.port_name:
            port_name = self.port_name
            # FIXME: This may be wrong, since options is a global property, and the port_name is specific to this object?
            self.set_option_default('webkit_test_runner', True)

        if port_name == self.port_name:
            self._version = self._detect_version(os_version_string) or self.FUTURE_VERSION
            self._name = self.port_name + '-' + self._version
        else:
            allowed_port_names = self.VERSION_FALLBACK_ORDER + [self._operating_system + "-future"]
            assert port_name in allowed_port_names, "%s is not in %s" % (port_name, allowed_port_names)
            self._version = self._strip_port_name_prefix(port_name)
Ejemplo n.º 22
0
 def __init__(self, **kwargs):
     kwargs.setdefault("port_name", "qt")
     WebKitPort.__init__(self, **kwargs)
Ejemplo n.º 23
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=test_config.filesystem)
     self._platforms_by_directory = dict(
         [(self._webkit_baseline_path(p), p) for p in test_config.platforms])
Ejemplo n.º 24
0
 def __init__(self, **kwargs):
     kwargs.setdefault('port_name', 'gtk')
     WebKitPort.__init__(self, **kwargs)
Ejemplo n.º 25
0
 def __init__(self, host):
     WebKitPort.__init__(self, host, 'mac')
     self._platforms_by_directory = dict([
         (self._webkit_baseline_path(p), p)
         for p in test_config.platforms
     ])
Ejemplo n.º 26
0
    def __init__(self, *args, **kwargs):
        WebKitPort.__init__(self, *args, **kwargs)

        self._jhbuild_wrapper_path = self.path_from_webkit_base("Tools", "efl", "run-with-jhbuild")

        self.set_option_default("wrapper", self._jhbuild_wrapper_path)
 def __init__(self):
     # FIXME: This should use MockExecutive and MockUser as well.
     WebKitPort.__init__(self, filesystem=mock_filesystem)
Ejemplo n.º 28
0
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = 'win'
     WebKitPort.__init__(self, port_name, options)
Ejemplo n.º 29
0
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = 'win'
     WebKitPort.__init__(self, port_name, options)
Ejemplo n.º 30
0
 def __init__(self, port_name=None, **kwargs):
     port_name = port_name or 'win'
     WebKitPort.__init__(self, port_name=port_name, **kwargs)
     self._version = 'win7'
     self._operating_system = 'win'
Ejemplo n.º 31
0
 def __init__(self, host):
     WebKitPort.__init__(self, host, 'mac')
     self._platforms_by_directory = dict([(self._webkit_baseline_path(p), p) for p in test_config.platforms])
Ejemplo n.º 32
0
 def __init__(self, port_name=None, **kwargs):
     port_name = port_name or 'win'
     WebKitPort.__init__(self, port_name=port_name, **kwargs)
     self._version = 'win7'
     self._operating_system = 'win'
Ejemplo n.º 33
0
 def __init__(self, **kwargs):
     kwargs.setdefault('port_name', 'mac' + self.version())
     WebKitPort.__init__(self, **kwargs)
Ejemplo n.º 34
0
 def __init__(self, host, **kwargs):
     WebKitPort.__init__(self, host, **kwargs)
     self._version = self.port_name
Ejemplo n.º 35
0
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = 'mac' + self.version()
     WebKitPort.__init__(self, port_name, options)
Ejemplo n.º 36
0
 def __init__(self, port_name=None, options=None):
     if port_name is None:
         port_name = "mac" + self.version()
     WebKitPort.__init__(self, port_name, options)
Ejemplo n.º 37
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=mock_filesystem)
     self._name = 'mac'
Ejemplo n.º 38
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=test_config.filesystem)
     self._platforms_by_directory = dict([
         (self._webkit_baseline_path(p), p)
         for p in test_config.platforms
     ])
Ejemplo n.º 39
0
 def __init__(self):
     WebKitPort.__init__(self, filesystem=mock_filesystem, host=MockHost())
Ejemplo n.º 40
0
 def __init__(self, host, **kwargs):
     WebKitPort.__init__(self, host, **kwargs)
     self._version = self.port_name
Ejemplo n.º 41
0
 def __init__(self, host):
     WebKitPort.__init__(self, host, port_name=self.port_name)