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

Unified Diff: tests/presubmit_unittest.py

Issue 6813114: Add --verbose flag when input_api.verbose is set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 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 | « presubmit_canned_checks.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/presubmit_unittest.py
diff --git a/tests/presubmit_unittest.py b/tests/presubmit_unittest.py
index ca43acbec149bdc94ee999445315650c7ba7f5b5..c0e7916ab11a8b055e3e360cd4b1f03fa135543e 100755
--- a/tests/presubmit_unittest.py
+++ b/tests/presubmit_unittest.py
@@ -2015,8 +2015,8 @@ mac|success|blew
input_api.PresubmitLocalPath().AndReturn(self.fake_root_dir)
input_api.PresubmitLocalPath().AndReturn(self.fake_root_dir)
input_api.subprocess.check_call(
- ['allo'], cwd=self.fake_root_dir)
- cmd = ['bar.py']
+ ['allo', '--verbose'], cwd=self.fake_root_dir)
+ cmd = ['bar.py', '--verbose']
if input_api.platform == 'win32':
cmd.insert(0, input_api.python_executable)
input_api.subprocess.check_call(
@@ -2044,7 +2044,7 @@ mac|success|blew
input_api.os_listdir(path).AndReturn(['.', '..', 'a', 'b', 'c'])
input_api.os_path.isfile = lambda x: not x.endswith('.')
input_api.subprocess.check_call(
- [presubmit.os.path.join('random_directory', 'b')],
+ [presubmit.os.path.join('random_directory', 'b'), '--verbose'],
cwd=self.fake_root_dir)
self.mox.ReplayAll()
« no previous file with comments | « presubmit_canned_checks.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698