コード例 #1
0
ファイル: win.py プロジェクト: malirod/check-webkit-style
 def __init__(self, host, port_name, **kwargs):
     ApplePort.__init__(self, host, port_name, **kwargs)
     if port_name.split('-') > 1:
         self._os_version = VersionNameMap.map(host.platform).from_name(
             port_name.split('-')[1])[1]
     else:
         self._os_version = self.host.platform.os_version
コード例 #2
0
ファイル: mac.py プロジェクト: cheekiatng/webkit
    def __init__(self, host, port_name, **kwargs):
        ApplePort.__init__(self, host, port_name, **kwargs)

        self._leak_detector = LeakDetector(self)
        if self.get_option("leaks"):
            # DumpRenderTree slows down noticably if we run more than about 1000 tests in a batch
            # with MallocStackLogging enabled.
            self.set_option_default("batch_size", 1000)
コード例 #3
0
    def __init__(self, host, port_name, **kwargs):
        ApplePort.__init__(self, host, port_name, **kwargs)

        self._leak_detector = LeakDetector(self)
        if self.get_option("leaks"):
            # DumpRenderTree slows down noticably if we run more than about 1000 tests in a batch
            # with MallocStackLogging enabled.
            self.set_option_default("batch_size", 1000)
コード例 #4
0
ファイル: win.py プロジェクト: sailei1/webkit
    def __init__(self, host, port_name, **kwargs):
        ApplePort.__init__(self, host, port_name, **kwargs)

        self._abs_results_directory = None