Revision: 16941
Author:   [email protected]
Date:     Wed Sep 25 12:37:00 2013 UTC
Log:      Add windows to status variable list.

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

[email protected]

Review URL: https://codereview.chromium.org/24528003
http://code.google.com/p/v8/source/detail?r=16941

Modified:
 /branches/bleeding_edge/tools/testrunner/local/statusfile.py
 /branches/bleeding_edge/tools/testrunner/local/utils.py

=======================================
--- /branches/bleeding_edge/tools/testrunner/local/statusfile.py Tue Sep 24 12:08:33 2013 UTC +++ /branches/bleeding_edge/tools/testrunner/local/statusfile.py Wed Sep 25 12:37:00 2013 UTC
@@ -52,7 +52,7 @@
 # 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


=======================================
--- /branches/bleeding_edge/tools/testrunner/local/utils.py Mon Sep 24 09:38:46 2012 UTC +++ /branches/bleeding_edge/tools/testrunner/local/utils.py Wed Sep 25 12:37:00 2013 UTC
@@ -65,7 +65,7 @@
   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 IsWindows():
-  return GuessOS() == 'win32'
+  return GuessOS() == 'windows'

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to