예제 #1
0
 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