Revision: 13434
Author:   [email protected]
Date:     Fri Jan 18 06:13:21 2013
Log:      Merged r13428 into 3.14 branch.

Fix test harness to accept camel-case modes.

[email protected]

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

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

=======================================
--- /branches/3.14/src/version.cc       Fri Jan 18 02:40:43 2013
+++ /branches/3.14/src/version.cc       Fri Jan 18 06:13:21 2013
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     14
 #define BUILD_NUMBER      5
-#define PATCH_LEVEL       4
+#define PATCH_LEVEL       5
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0
=======================================
--- /branches/3.14/tools/run-tests.py   Mon Oct 22 06:09:53 2012
+++ /branches/3.14/tools/run-tests.py   Fri Jan 18 06:13:21 2013
@@ -150,7 +150,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