Commit 8f3e3280 authored by tony@chromium.org's avatar tony@chromium.org
Browse files

2010-08-24 Tony Chang <tony@chromium.org>

        Reviewed by Eric Seidel.

        [chromium] fix the platform result fallback order on mac/win
        https://bugs.webkit.org/show_bug.cgi?id=44483

        * Scripts/webkitpy/layout_tests/port/google_chrome.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8b4beca5
2010-08-24 Tony Chang <tony@chromium.org>
Reviewed by Eric Seidel.
[chromium] fix the platform result fallback order on mac/win
https://bugs.webkit.org/show_bug.cgi?id=44483
* Scripts/webkitpy/layout_tests/port/google_chrome.py:
2010-08-24 Xan Lopez <xlopez@igalia.com>
Reviewed by Martin Robinson.
......
......@@ -36,9 +36,10 @@ def GetGoogleChromePort(port_name, options):
def baseline_search_path(self):
paths = chromium_linux.ChromiumLinuxPort.baseline_search_path(
self)
paths.insert(0, self._webkit_baseline_path(self._name))
paths.insert(0, self._webkit_baseline_path(
'google-chrome-linux32'))
return paths
return GoogleChromeLinux32Port(port_name, options)
return GoogleChromeLinux32Port(None, options)
elif port_name == 'google-chrome-linux64':
import chromium_linux
......@@ -46,9 +47,10 @@ def GetGoogleChromePort(port_name, options):
def baseline_search_path(self):
paths = chromium_linux.ChromiumLinuxPort.baseline_search_path(
self)
paths.insert(0, self._webkit_baseline_path(self._name))
paths.insert(0, self._webkit_baseline_path(
'google-chrome-linux64'))
return paths
return GoogleChromeLinux64Port(port_name, options)
return GoogleChromeLinux64Port(None, options)
elif port_name.startswith('google-chrome-mac'):
import chromium_mac
......@@ -59,7 +61,7 @@ def GetGoogleChromePort(port_name, options):
paths.insert(0, self._webkit_baseline_path(
'google-chrome-mac'))
return paths
return GoogleChromeMacPort(port_name, options)
return GoogleChromeMacPort(None, options)
elif port_name.startswith('google-chrome-win'):
import chromium_win
......@@ -70,5 +72,5 @@ def GetGoogleChromePort(port_name, options):
paths.insert(0, self._webkit_baseline_path(
'google-chrome-win'))
return paths
return GoogleChromeWinPort(port_name, options)
return GoogleChromeWinPort(None, options)
raise NotImplementedError('unsupported port: %s' % port_name)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment