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

Unified Diff: webkit/tools/layout_tests/layout_package/platform_utils_win.py

Issue 342033: Make run_webkit_tests work on Windows 7. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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: webkit/tools/layout_tests/layout_package/platform_utils_win.py
===================================================================
--- webkit/tools/layout_tests/layout_package/platform_utils_win.py (revision 30382)
+++ webkit/tools/layout_tests/layout_package/platform_utils_win.py (working copy)
@@ -20,6 +20,8 @@
'-snowleopard'. If the platform does not distinguish between
minor versions, it returns ''."""
winver = sys.getwindowsversion()
+ if winver[0] == 6 and (winver[1] == 1):
+ return '-7'
if winver[0] == 6 and (winver[1] == 0):
return '-vista'
if winver[0] == 5 and (winver[1] == 1 or winver[1] == 2):
@@ -41,6 +43,8 @@
"""
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":

Powered by Google App Engine
This is Rietveld 408576698