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

Unified Diff: tools/build_command_buffer.py

Issue 1877883002: Fixes for CommandBuffer bot (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add dm flags and gyp_defines Created 4 years, 8 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
« no previous file with comments | « no previous file | tools/buildbot_spec.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/build_command_buffer.py
diff --git a/tools/build_command_buffer.py b/tools/build_command_buffer.py
index e57f4960c5cca0c2e97e68cbdb487b39fea8c295..88748d678921885d923f4ef3b4725ccb1c3fc000 100755
--- a/tools/build_command_buffer.py
+++ b/tools/build_command_buffer.py
@@ -111,15 +111,15 @@ def main():
try:
subprocess.check_call(['git', 'fetch'], cwd=chrome_src_dir)
except subprocess.CalledProcessError as error:
- sys.exit('Error (ret code: %s) calling "%s" in %s' % error.returncode,
- error.cmd, chrome_src_dir)
+ sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
+ error.cmd, chrome_src_dir))
try:
subprocess.check_call(['git', 'checkout', args.chrome_revision],
cwd=chrome_src_dir)
except subprocess.CalledProcessError as error:
- sys.exit('Error (ret code: %s) calling "%s" in %s' % error.returncode,
- error.cmd, chrome_src_dir)
+ sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
+ error.cmd, chrome_src_dir))
if not args.no_sync:
try:
@@ -127,16 +127,16 @@ def main():
subprocess.check_call([gclient, 'sync', '--reset', '--force'],
cwd=chrome_src_dir)
except subprocess.CalledProcessError as error:
- sys.exit('Error (ret code: %s) calling "%s" in %s' % error.returncode,
- error.cmd, chrome_src_dir)
+ sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
+ error.cmd, chrome_src_dir))
try:
subprocess.check_call(['ninja'] + shlex.split(args.extra_ninja_args) +
['-C', chrome_target_dir_rel, 'command_buffer_gles2'],
cwd=chrome_src_dir)
except subprocess.CalledProcessError as error:
- sys.exit('Error (ret code: %s) calling "%s" in %s' % error.returncode,
- error.cmd, chrome_src_dir)
+ sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
+ error.cmd, chrome_src_dir))
shared_lib_src_dir = os.path.join(chrome_src_dir, chrome_target_dir_rel,
shared_lib_subdir)
« no previous file with comments | « no previous file | tools/buildbot_spec.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698