Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/mac.py

Issue 1173403006: Add webkitpy platform support for Mac 10.10 Yosemite. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/Scripts/webkitpy/layout_tests/port/mac.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/mac.py b/Tools/Scripts/webkitpy/layout_tests/port/mac.py
index 7ee912d0e811fea525e70001ce41dc0093f73b13..a4fa8a885ce858b01c8197dd4bcc83bcd464804d 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/mac.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/mac.py
@@ -38,7 +38,7 @@ _log = logging.getLogger(__name__)
class MacPort(base.Port):
- SUPPORTED_VERSIONS = ('snowleopard', 'lion', 'retina', 'mountainlion', 'mavericks')
+ SUPPORTED_VERSIONS = ('snowleopard', 'lion', 'retina', 'mountainlion', 'mavericks', 'yosemite')
Dirk Pranke 2015/06/18 17:23:03 and here.
port_name = 'mac'
# FIXME: We treat Retina (High-DPI) devices as if they are running
@@ -49,7 +49,8 @@ class MacPort(base.Port):
# We also currently only support Retina on 10.9.
FALLBACK_PATHS = {}
- FALLBACK_PATHS['mavericks'] = ['mac']
+ FALLBACK_PATHS['yosemite'] = ['mac']
+ FALLBACK_PATHS['mavericks'] = ['mac-mavericks'] + FALLBACK_PATHS['yosemite']
FALLBACK_PATHS['retina'] = ['mac-retina'] + FALLBACK_PATHS['mavericks']
FALLBACK_PATHS['mountainlion'] = ['mac-mountainlion'] + FALLBACK_PATHS['mavericks']
FALLBACK_PATHS['lion'] = ['mac-lion'] + FALLBACK_PATHS['mountainlion']
@@ -65,7 +66,7 @@ class MacPort(base.Port):
def determine_full_port_name(cls, host, options, port_name):
if port_name.endswith('mac'):
if host.platform.os_version in ('future',):
- version = 'mavericks'
+ version = 'yosemite'
else:
version = host.platform.os_version
if host.platform.is_highdpi():

Powered by Google App Engine
This is Rietveld 408576698