Revision: 13432
Author:   [email protected]
Date:     Fri Jan 18 06:04:07 2013
Log:      Merged r13428 into 3.15 branch.

Fix test harness to accept camel-case modes.

[email protected]

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

Modified:
 /branches/3.15/src/version.cc
 /branches/3.15/tools/run-tests.py

=======================================
--- /branches/3.15/src/version.cc       Fri Jan 18 02:31:01 2013
+++ /branches/3.15/src/version.cc       Fri Jan 18 06:04:07 2013
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     15
 #define BUILD_NUMBER      11
-#define PATCH_LEVEL       9
+#define PATCH_LEVEL       10
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0
=======================================
--- /branches/3.15/tools/run-tests.py   Wed Oct 31 03:02:10 2012
+++ /branches/3.15/tools/run-tests.py   Fri Jan 18 06:04:07 2013
@@ -155,7 +155,7 @@
     options.mode = tokens[1]
   options.mode = options.mode.split(",")
   for mode in options.mode:
-    if not mode in ["debug", "release"]:
+    if not mode.lower() in ["debug", "release"]:
       print "Unknown mode %s" % mode
       return False
   if options.arch in ["auto", "native"]:

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to