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

Unified Diff: tools/clang/scripts/run_tool.py

Issue 2609473002: Renaming blink method names inside gmock's EXPECT_CALL macro invocation. (Closed)
Patch Set: Make SourceFileCallbacks's constructor explicit. Created 3 years, 11 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 | « tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc ('k') | tools/clang/scripts/test_tool.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/scripts/run_tool.py
diff --git a/tools/clang/scripts/run_tool.py b/tools/clang/scripts/run_tool.py
index c3482df0c39b6de49cb968b67f54bb865b8894fb..f16f66a17c426a0fb7a95bfb96d581434dac658a 100755
--- a/tools/clang/scripts/run_tool.py
+++ b/tools/clang/scripts/run_tool.py
@@ -122,7 +122,8 @@ def _ExecuteTool(toolname, tool_args, build_directory, filename):
if command.returncode != 0:
return {'status': False, 'filename': filename, 'stderr_text': stderr_text}
else:
- return {'status': True, 'filename': filename, 'stdout_text': stdout_text}
+ return {'status': True, 'filename': filename, 'stdout_text': stdout_text,
+ 'stderr_text': stderr_text}
class _CompilerDispatcher(object):
@@ -168,6 +169,7 @@ class _CompilerDispatcher(object):
if result['status']:
self.__success_count += 1
sys.stdout.write(result['stdout_text'])
+ sys.stderr.write(result['stderr_text'])
else:
self.__failed_count += 1
sys.stderr.write('\nFailed to process %s\n' % result['filename'])
« no previous file with comments | « tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc ('k') | tools/clang/scripts/test_tool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698