summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authordpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 01:08:27 +0000
committerdpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 01:08:27 +0000
commit1f97d19d40c07ecc87070a9dd616f966f9f7619e (patch)
tree8b9c747b0f11b0d37b2925947fbf756e93052972 /webkit/tools
parentd1eda9325775891900b0ed740b2faffbe522fc20 (diff)
downloadchromium_src-1f97d19d40c07ecc87070a9dd616f966f9f7619e.zip
chromium_src-1f97d19d40c07ecc87070a9dd616f966f9f7619e.tar.gz
chromium_src-1f97d19d40c07ecc87070a9dd616f966f9f7619e.tar.bz2
Fix the windows search path to look in oldest applicable platform dir first
(was looking in newest dir before). TEST=none R=ojan@chromium.org BUG=none Review URL: http://codereview.chromium.org/353014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/layout_tests/layout_package/platform_utils_win.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/tools/layout_tests/layout_package/platform_utils_win.py b/webkit/tools/layout_tests/layout_package/platform_utils_win.py
index b3b77df..2c48fe9 100644
--- a/webkit/tools/layout_tests/layout_package/platform_utils_win.py
+++ b/webkit/tools/layout_tests/layout_package/platform_utils_win.py
@@ -43,12 +43,12 @@ def BaselineSearchPath(all_versions=False):
"""
dirs = []
- if all_versions or PlatformVersion() in ("-7", "-vista", "-xp"):
- dirs.append(path_utils.ChromiumBaselinePath('chromium-win-7'))
- if all_versions or PlatformVersion() in ("-vista", "-xp"):
- dirs.append(path_utils.ChromiumBaselinePath('chromium-win-vista'))
if all_versions or PlatformVersion() == "-xp":
dirs.append(path_utils.ChromiumBaselinePath('chromium-win-xp'))
+ if all_versions or PlatformVersion() in ("-vista", "-xp"):
+ dirs.append(path_utils.ChromiumBaselinePath('chromium-win-vista'))
+ if all_versions or PlatformVersion() in ("-7", "-vista", "-xp"):
+ dirs.append(path_utils.ChromiumBaselinePath('chromium-win-7'))
dirs.append(path_utils.ChromiumBaselinePath('chromium-win'))
dirs.append(path_utils.WebKitBaselinePath('win'))
dirs.append(path_utils.WebKitBaselinePath('mac'))