Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: scripts/tools/run_recipe.py

Issue 17635005: Make blink_trybot recipe work on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fix presubmit + move polyfill (retry) Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/tools/run_recipe.py
diff --git a/scripts/tools/run_recipe.py b/scripts/tools/run_recipe.py
index d3d8a37e0da2c0d8f4cada662228149e03873e2f..337c423adbd25cf39c8e3407510cb3f788439d8b 100755
--- a/scripts/tools/run_recipe.py
+++ b/scripts/tools/run_recipe.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python -u
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -30,7 +30,7 @@ SCRIPT_PATH = os.path.abspath(os.path.dirname(__file__))
ROOT_PATH = os.path.abspath(os.path.join(SCRIPT_PATH, os.pardir, os.pardir))
SLAVE_DIR = os.path.join(ROOT_PATH, 'slave', 'fake_slave', 'build')
-RUNIT = os.path.join(SCRIPT_PATH, 'runit.sh')
+RUNIT = os.path.join(SCRIPT_PATH, 'runit.py')
ANNOTATED_RUN = os.path.join(ROOT_PATH, 'scripts', 'slave', 'annotated_run.py')
def usage(msg=None):
@@ -93,7 +93,7 @@ def main(argv):
env['RUN_SLAVE_UPDATED_SCRIPTS'] = '1'
env['PYTHONUNBUFFERED'] = '1'
return subprocess.call(
- [RUNIT, ANNOTATED_RUN,
+ ['python', '-u', RUNIT, 'python', '-u', ANNOTATED_RUN,
'--keep-stdin', # so that pdb works for local execution
'--factory-properties', json.dumps(fp),
'--build-properties', json.dumps(bp)],

Powered by Google App Engine
This is Rietveld 408576698