Changeset 89965 in webkit
- Timestamp:
- Jun 28, 2011 3:06:09 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r89963 r89965 1 2011-06-28 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Dirk Pranke. 4 5 Remove webkitpy's tiger support now that WebKit no longer supports tiger 6 https://bugs.webkit.org/show_bug.cgi?id=63568 7 8 I don't think our support actually fully worked anyway. Regardless 9 tiger is dead now (thankfully)! 10 11 I also unwrapped some short lines and added a couple FIXMEs while 12 touring the code. 13 14 No new tests, only removing old ones which tested our Tiger support. 15 16 * Scripts/webkitpy/layout_tests/port/base.py: 17 * Scripts/webkitpy/layout_tests/port/builders.py: 18 * Scripts/webkitpy/layout_tests/port/chromium_linux.py: 19 * Scripts/webkitpy/layout_tests/port/chromium_mac.py: 20 * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: 21 * Scripts/webkitpy/layout_tests/port/mac.py: 22 * Scripts/webkitpy/layout_tests/port/mac_unittest.py: 23 * Scripts/webkitpy/tool/commands/rebaseline.py: 24 * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py: 25 1 26 2011-06-28 Eric Seidel <eric@webkit.org> 2 27 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py
r89899 r89965 563 563 564 564 def graphics_type(self): 565 """Returns whether the port uses accelerated graphics ('gpu') or not 566 ('cpu').""" 565 """Returns whether the port uses accelerated graphics ('gpu') or not ('cpu').""" 567 566 return self._graphics_type 568 567 … … 903 902 904 903 def _path_to_wdiff(self): 905 """Returns the full path to the wdiff binary, or None if it is 906 not available. 904 """Returns the full path to the wdiff binary, or None if it is not available. 907 905 908 906 This is likely used only by wdiff_text()""" … … 912 910 """Return the full path to the top of the baseline tree for a 913 911 given platform.""" 914 return self._filesystem.join(self.layout_tests_dir(), 'platform', 915 platform) 912 return self._filesystem.join(self.layout_tests_dir(), 'platform', platform) 916 913 917 914 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/builders.py
r85797 r89965 66 66 'gtk': 'GTK Linux 32-bit Debug', 67 67 68 'mac-tiger': None,69 68 'mac-leopard': 'Leopard Intel Debug (Tests)', 70 69 'mac-snowleopard': 'SnowLeopard Intel Release (Tests)', -
trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_linux.py
r89512 r89965 106 106 _log.error('For complete Linux build requirements, please see:') 107 107 _log.error('') 108 _log.error(' http://code.google.com/p/chromium/wiki/' 109 'LinuxBuildInstructions') 108 _log.error(' http://code.google.com/p/chromium/wiki/LinuxBuildInstructions') 110 109 return result 111 110 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_mac.py
r89797 r89965 90 90 _log.error('For complete Mac build requirements, please see:') 91 91 _log.error('') 92 _log.error(' http://code.google.com/p/chromium/wiki/' 93 'MacBuildInstructions') 92 _log.error(' http://code.google.com/p/chromium/wiki/MacBuildInstructions') 94 93 95 94 return result … … 123 122 except OSError: 124 123 if logging: 125 _log.warning('wdiff not found. Install using MacPorts or some ' 126 'other means') 124 _log.warning('wdiff not found. Install using MacPorts or some other means') 127 125 return True 128 126 129 127 def _lighttpd_path(self, *comps): 130 return self.path_from_chromium_base('third_party', 'lighttpd', 131 'mac', *comps) 128 return self.path_from_chromium_base('third_party', 'lighttpd', 'mac', *comps) 132 129 133 130 def _path_to_apache(self): … … 135 132 136 133 def _path_to_apache_config_file(self): 137 return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 138 'apache2-httpd.conf') 134 return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 'apache2-httpd.conf') 139 135 140 136 def _path_to_lighttpd(self): … … 148 144 149 145 def _path_to_driver(self, configuration=None): 150 # FIXME: make |configuration| happy with case-sensitive file 151 # systems. 146 # FIXME: make |configuration| happy with case-sensitive file systems. 152 147 if not configuration: 153 148 configuration = self.get_option('configuration') -
trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_unittest.py
r88073 r89965 138 138 class TestMacPort(chromium_mac.ChromiumMacPort): 139 139 def __init__(self, options): 140 # FIXME: This should use MockExecutive and MockUser as well. 140 141 chromium_mac.ChromiumMacPort.__init__(self, 141 142 options=options, … … 148 149 class TestLinuxPort(chromium_linux.ChromiumLinuxPort): 149 150 def __init__(self, options): 151 # FIXME: This should use MockExecutive and MockUser as well. 150 152 chromium_linux.ChromiumLinuxPort.__init__(self, 151 153 options=options, … … 158 160 class TestWinPort(chromium_win.ChromiumWinPort): 159 161 def __init__(self, options): 162 # FIXME: This should use MockExecutive and MockUser as well. 160 163 chromium_win.ChromiumWinPort.__init__(self, 161 164 options=options, -
trunk/Tools/Scripts/webkitpy/layout_tests/port/mac.py
r89899 r89965 47 47 release_version = int(os_version_string.split('.')[1]) 48 48 version_strings = { 49 4: 'tiger',50 49 5: 'leopard', 51 50 6: 'snowleopard', … … 62 61 # FIXME: 'wk2' probably shouldn't be a version, it should probably be 63 62 # a modifier, like 'chromium-gpu' is to 'chromium'. 64 SUPPORTED_VERSIONS = (' tiger', 'leopard', 'snowleopard', 'future', 'wk2')63 SUPPORTED_VERSIONS = ('leopard', 'snowleopard', 'future', 'wk2') 65 64 66 65 FALLBACK_PATHS = { 67 'tiger': ['mac-tiger', 'mac-leopard', 'mac-snowleopard', 'mac'],68 66 'leopard': ['mac-leopard', 'mac-snowleopard', 'mac'], 69 67 'snowleopard': ['mac-snowleopard', 'mac'], -
trunk/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py
r85896 r89965 99 99 port = self.make_port() 100 100 if port: 101 self.assertTrue(port.name() in ('mac-tiger', 'mac-leopard', 'mac-snowleopard', 'mac-future')) 102 103 self.assert_name(None, '10.4.8', 'mac-tiger') 104 self.assert_name('mac', '10.4.8', 'mac-tiger') 105 self.assert_name('mac-tiger', '10.4.8', 'mac-tiger') 106 self.assert_name('mac-tiger', '10.5.3', 'mac-tiger') 107 self.assert_name('mac-tiger', '10.6.3', 'mac-tiger') 101 self.assertTrue(port.name() in ('mac-leopard', 'mac-snowleopard', 'mac-future')) 108 102 109 103 self.assert_name(None, '10.5.3', 'mac-leopard') -
trunk/Tools/Scripts/webkitpy/tool/commands/rebaseline.py
r74927 r89965 47 47 r"SnowLeopard": "mac-snowleopard", 48 48 r"Leopard": "mac-leopard", 49 r"Tiger": "mac-tiger",50 49 r"Windows": "win", 51 50 r"GTK": "gtk", -
trunk/Tools/Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py
r73274 r89965 293 293 class TestMacPort(WebKitPort): 294 294 def __init__(self): 295 # FIXME: This should use MockExecutive and MockUser as well. 295 296 WebKitPort.__init__(self, filesystem=mock_filesystem) 296 297 self._name = 'mac'
Note: See TracChangeset
for help on using the changeset viewer.