Revision: 11944
Author:   [email protected]
Date:     Thu Jun 28 07:31:03 2012
Log: Allow using test-wrapper-gypbuild.py on Windows when no python interpreter is registered.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/10716004
Patch from Sigurður Ásgeirsson <[email protected]>.
http://code.google.com/p/v8/source/detail?r=11944

Modified:
 /branches/bleeding_edge/tools/test-wrapper-gypbuild.py

=======================================
--- /branches/bleeding_edge/tools/test-wrapper-gypbuild.py Fri Jun 8 07:47:12 2012 +++ /branches/bleeding_edge/tools/test-wrapper-gypbuild.py Thu Jun 28 07:31:03 2012
@@ -217,9 +217,10 @@

   if not options.no_presubmit:
     print ">>> running presubmit tests"
-    returncodes += subprocess.call([workspace + '/tools/presubmit.py'])
-
-  args_for_children = ['python']
+    returncodes += subprocess.call([sys.executable,
+                                    workspace + '/tools/presubmit.py'])
+
+  args_for_children = [sys.executable]
args_for_children += [workspace + '/tools/test.py'] + PassOnOptions(options)
   args_for_children += ['--no-build', '--build-system=gyp']
   for arg in args:

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

Reply via email to