From 6504c92c0aab54ba588b33395f4a75f71c3da1f0 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Thu, 28 Jun 2012 14:31:03 +0000 Subject: [PATCH] Allow using test-wrapper-gypbuild.py on Windows when no python interpreter is registered. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/10716004 Patch from Sigurður Ásgeirsson . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11944 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- tools/test-wrapper-gypbuild.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/test-wrapper-gypbuild.py b/tools/test-wrapper-gypbuild.py index d99d055e50..6de021bc54 100755 --- a/tools/test-wrapper-gypbuild.py +++ b/tools/test-wrapper-gypbuild.py @@ -217,9 +217,10 @@ def Main(): if not options.no_presubmit: print ">>> running presubmit tests" - returncodes += subprocess.call([workspace + '/tools/presubmit.py']) + returncodes += subprocess.call([sys.executable, + workspace + '/tools/presubmit.py']) - args_for_children = ['python'] + 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: