Adding --no_diff flag. Needed to mute errors that are supposed to be

muted for --all.

Also adding back one level of verbose because now logs aren't
printing the stack trace for some errors.

Run Sample - https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8801029285027783553/+/u/presubmit_py3/json.output


Bug:1322936
Change-Id: Id1f30a5a8e7c5dc8a30af42e4b012f71554c340a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3946639
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Riley Wong <rgw@google.com>
changes/39/3946639/4
Riley Wong 3 years ago committed by LUCI CQ
parent 37ef26b42a
commit a662dd87fb

@ -153,7 +153,10 @@ class PresubmitApi(recipe_api.RecipeApi):
]
if run_all:
presubmit_args.append('--all')
presubmit_args.extend([
'--all', '--no_diffs',
'--verbose'
])
if self.m.cq.active and self.m.cq.run_mode == self.m.cq.DRY_RUN:
presubmit_args.append('--dry_run')

Loading…
Cancel
Save