Changeset 93530 in webkit


Ignore:
Timestamp:
Aug 22, 2011 12:35:50 PM (13 years ago)
Author:
jamesr@google.com
Message:

[chromium] Update builder names for chromium gpu bots due to CG switchover
https://bugs.webkit.org/show_bug.cgi?id=66693

Reviewed by Dirk Pranke.

Update the port and builder names for the chromium mac gpu bots to
account for the CG transition.

  • Scripts/webkitpy/layout_tests/port/builders.py:
Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r93527 r93530  
     12011-08-22  James Robinson  <jamesr@chromium.org>
     2
     3        [chromium] Update builder names for chromium gpu bots due to CG switchover
     4        https://bugs.webkit.org/show_bug.cgi?id=66693
     5
     6        Reviewed by Dirk Pranke.
     7
     8        Update the port and builder names for the chromium mac gpu bots to
     9        account for the CG transition.
     10
     11        * Scripts/webkitpy/layout_tests/port/builders.py:
     12
    1132011-08-22  Dirk Pranke  <dpranke@chromium.org>
    214
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/builders.py

    r93242 r93530  
    5252    "Webkit Mac10.6 (CG)": {"port_name": "chromium-cg-mac-snowleopard", "specifiers": set(["snowleopard"])},
    5353    "Webkit Mac10.6 (CG)(dbg)": {"port_name": "chromium-cg-mac-snowleopard", "specifiers": set(["snowleopard", "debug"])},
    54     "Webkit Mac10.6 - GPU": {"port_name": "chromium-gpu-mac-snowleopard", "specifiers": set(["snowleopard", "gpu"])},
    5554    "Webkit Win - GPU": {"port_name": "chromium-gpu-win-xp", "specifiers": set(["xp", "release", "gpu"])},
    5655    "Webkit Win7 - GPU": {"port_name": "chromium-gpu-win-win7", "specifiers": set(["win7", "vista", "release", "gpu"])},
     
    5857    # "Webkit Linux - GPU": {"port_name": "chromium-gpu-linux-x86_64", "specifiers": set(["linux", "gpu"])},
    5958    # "Webkit Linux 32 - GPU": {"port_name": "chromium-gpu-linux-x86", "specifiers": set(["linux", "x86", "gpu"])},
    60     "Webkit Mac10.5 - GPU": {"port_name": "chromium-gpu-mac-leopard", "specifiers": set(["leopard", "gpu"])},
    61     "Webkit Mac10.6 - GPU": {"port_name": "chromium-gpu-mac-snowleopard", "specifiers": set(["mac", "gpu"])},
     59    "Webkit Mac10.5 (CG) - GPU": {"port_name": "chromium-gpu-cg-mac-leopard", "specifiers": set(["leopard", "gpu"])},
     60    "Webkit Mac10.6 (CG) - GPU": {"port_name": "chromium-gpu-cg-mac-snowleopard", "specifiers": set(["mac", "gpu"])},
    6261
    6362    # These builders are on build.webkit.org.
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_gpu.py

    r93463 r93530  
    4545            port_name = 'chromium-gpu-linux'
    4646        elif platform == 'darwin':
    47             port_name = 'chromium-gpu-mac'
     47            port_name = 'chromium-gpu-cg-mac'
    4848        else:
    4949            raise NotImplementedError('unsupported platform: %s' % platform)
     
    5151    if port_name.startswith('chromium-gpu-linux'):
    5252        return ChromiumGpuLinuxPort(port_name=port_name, **kwargs)
    53     if port_name.startswith('chromium-gpu-mac'):
     53    if port_name.startswith('chromium-gpu-cg-mac'):
    5454        return ChromiumGpuMacPort(port_name=port_name, **kwargs)
    5555    if port_name.startswith('chromium-gpu-win'):
     
    7878    if not paths:
    7979        paths = ['compositing', 'platform/chromium/compositing', 'media', 'animations/3d']
    80         if not port.name().startswith('chromium-gpu-mac'):
     80        if not port.name().startswith('chromium-gpu-cg-mac'):
    8181            # Canvas is not yet accelerated on the Mac, so there's no point
    8282            # in running the tests there.
     
    103103
    104104class ChromiumGpuMacPort(chromium_mac.ChromiumMacPort):
    105     def __init__(self, port_name='chromium-gpu-mac', **kwargs):
     105    def __init__(self, port_name='chromium-gpu-cg-mac', **kwargs):
    106106        chromium_mac.ChromiumMacPort.__init__(self, port_name=port_name, **kwargs)
    107107        _set_gpu_options(self)
    108108
    109109    def baseline_search_path(self):
    110         return (map(self._webkit_baseline_path, ['chromium-gpu-mac', 'chromium-gpu']) +
     110        return (map(self._webkit_baseline_path, ['chromium-gpu-cg-mac', 'chromium-gpu']) +
    111111                chromium_mac.ChromiumMacPort.baseline_search_path(self))
    112112
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py

    r93463 r93530  
    4545        if sys.platform != 'darwin':
    4646            return
    47         self.assert_port_works('chromium-gpu-mac')
    48         self.assert_port_works('chromium-gpu-mac', 'chromium-gpu', 'darwin')
     47        self.assert_port_works('chromium-gpu-cg-mac')
     48        self.assert_port_works('chromium-gpu-cg-mac', 'chromium-gpu', 'darwin')
    4949
    5050    def integration_test_chromium_gpu_win(self):
     
    9696        self.assertTrue(port._filesystem.exists(port.abspath_for_test(path)))
    9797        self.assertFalse(path in files)
    98         if port_name.startswith('chromium-gpu-mac'):
     98        if port_name.startswith('chromium-gpu-cg-mac'):
    9999            path = 'fast/canvas/set-colors.html'
    100100            self.assertTrue(port._filesystem.exists(port.abspath_for_test(path)))
     
    117117
    118118    def test_chromium_gpu__leopard(self):
    119         port = factory.get('chromium-gpu-mac-leopard')
    120         self.assertEquals(port.name(), 'chromium-gpu-mac-leopard')
    121         self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-mac'))
     119        port = factory.get('chromium-gpu-cg-mac-leopard')
     120        self.assertEquals(port.name(), 'chromium-gpu-cg-mac-leopard')
     121        self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-cg-mac'))
    122122
    123123    def test_chromium_gpu__snowleopard(self):
    124         port = factory.get('chromium-gpu-mac-snowleopard')
    125         self.assertEquals(port.name(), 'chromium-gpu-mac-snowleopard')
    126         self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-mac'))
     124        port = factory.get('chromium-gpu-cg-mac-snowleopard')
     125        self.assertEquals(port.name(), 'chromium-gpu-cg-mac-snowleopard')
     126        self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-cg-mac'))
    127127
    128128
Note: See TracChangeset for help on using the changeset viewer.