Revision: 11663
Author:   [email protected]
Date:     Fri May 25 05:27:23 2012
Log:      Add explicit "python" to subprocess args in test wrapper script

Review URL: https://chromiumcodereview.appspot.com/10447031
http://code.google.com/p/v8/source/detail?r=11663

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

=======================================
--- /branches/bleeding_edge/tools/test-wrapper-gypbuild.py Fri May 11 05:18:09 2012 +++ /branches/bleeding_edge/tools/test-wrapper-gypbuild.py Fri May 25 05:27:23 2012
@@ -224,7 +224,8 @@
     print ">>> running presubmit tests"
     returncodes += subprocess.call([workspace + '/tools/presubmit.py'])

- args_for_children = [workspace + '/tools/test.py'] + PassOnOptions(options)
+  args_for_children = ['python']
+ args_for_children += [workspace + '/tools/test.py'] + PassOnOptions(options)
   args_for_children += ['--no-build', '--build-system=gyp']
   for arg in args:
     args_for_children += [arg]
@@ -240,10 +241,14 @@
shellpath = workspace + '/' + options.outdir + '/' + arch + '.' + mode
       env['LD_LIBRARY_PATH'] = shellpath + '/lib.target'
       shell = shellpath + "/d8"
-      child = subprocess.Popen(' '.join(args_for_children +
-                                        ['--arch=' + arch] +
-                                        ['--mode=' + mode] +
-                                        ['--shell=' + shell]),
+      cmdline = ' '.join(args_for_children +
+                         ['--arch=' + arch] +
+                         ['--mode=' + mode] +
+                         ['--shell=' + shell])
+      # TODO(jkummerow): This print is temporary.
+      print "Executing: %s" % cmdline
+
+      child = subprocess.Popen(cmdline,
                                shell=True,
                                cwd=workspace,
                                env=env)

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

Reply via email to