Add windows to status variable list.

This will allow to modify test expectation for system==windows.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/24528003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16941 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 9d3c5c5f
......@@ -52,7 +52,7 @@ DEFS = {FAIL_OK: [FAIL, OKAY],
# Support arches, modes to be written as keywords instead of strings.
VARIABLES = {ALWAYS: True}
for var in ["debug", "release", "android_arm", "android_ia32", "arm", "ia32",
"mipsel", "x64", "nacl_ia32", "nacl_x64", "macos"]:
"mipsel", "x64", "nacl_ia32", "nacl_x64", "macos", "windows"]:
VARIABLES[var] = var
......
......@@ -65,7 +65,7 @@ def GuessOS():
elif system == 'Windows' or system == 'Microsoft':
# On Windows Vista platform.system() can return 'Microsoft' with some
# versions of Python, see http://bugs.python.org/issue1082
return 'win32'
return 'windows'
elif system == 'FreeBSD':
return 'freebsd'
elif system == 'OpenBSD':
......@@ -105,4 +105,4 @@ def GuessWordsize():
def IsWindows():
return GuessOS() == 'win32'
return GuessOS() == 'windows'
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