Changeset 85307 in webkit


Ignore:
Timestamp:
Apr 28, 2011 11:53:23 PM (13 years ago)
Author:
Adam Roben
Message:

Stop and restart ATSServer before each test run on Leopard

This is to work around an ATSServer leak that eventually causes tests
to fail.

Fixes <http://webkit.org/b/51807> <rdar://problem/9273894>
fast/blockflow/broken-ideograph-[small-caps|font].html sometimes fails on Leopard buildbots
(due to ATSServer leak)

Reviewed by Dan Bernstein.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:

(StopATSServer):
(StartATSServer):
Added these new commands to stop and start ATSServer.

(TestFactory.init): Stop and start ATSServer on Leopard before running tests.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r83174 r85307  
    433433
    434434
     435class StopATSServer(shell.ShellCommand):
     436    command = ["launchctl", "stop", "com.apple.ATSServer"]
     437    name = "stop-ats-server"
     438    description = ["stopping ATSServer"]
     439    descriptionDone = ["stopped ATSServer"]
     440
     441
     442class StartATSServer(shell.ShellCommand):
     443    command = ["launchctl", "start", "com.apple.ATSServer"]
     444    name = "start-ats-server"
     445    description = ["starting ATSServer"]
     446    descriptionDone = ["started ATSServer"]
     447
     448
    435449class Factory(factory.BuildFactory):
    436450    def __init__(self, platform, configuration, architectures, buildOnly):
     
    459473    def __init__(self, platform, configuration, architectures):
    460474        Factory.__init__(self, platform, configuration, architectures, False)
     475        if platform == "mac-leopard":
     476            # Work around an ATSServer leak. See <http://webkit.org/b/51807>.
     477            self.addStep(StopATSServer)
     478            self.addStep(StartATSServer)
    461479        self.addStep(DownloadBuiltProduct)
    462480        self.addStep(ExtractBuiltProduct)
  • trunk/Tools/ChangeLog

    r85297 r85307  
     12011-04-28  Adam Roben  <aroben@apple.com>
     2
     3        Stop and restart ATSServer before each test run on Leopard
     4
     5        This is to work around an ATSServer leak that eventually causes tests
     6        to fail.
     7
     8        Fixes <http://webkit.org/b/51807> <rdar://problem/9273894>
     9        fast/blockflow/broken-ideograph-[small-caps|font].html sometimes fails on Leopard buildbots
     10        (due to ATSServer leak)
     11
     12        Reviewed by Dan Bernstein.
     13
     14        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
     15        (StopATSServer):
     16        (StartATSServer):
     17        Added these new commands to stop and start ATSServer.
     18
     19        (TestFactory.__init__): Stop and start ATSServer on Leopard before running tests.
     20
    1212011-04-28  Dirk Pranke  <dpranke@chromium.org>
    222
Note: See TracChangeset for help on using the changeset viewer.