mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Augment presubmit_support to output a json summary.
Adds functionality to presubmit api to return error, notification and warning messages caught in presubmit_support.py in the form of a json. Recipe-Nontrivial-Roll: build Recipe-Nontrivial-Roll: build_limited_scripts_slave Bug:971895 Change-Id: I42a3df3994077342216d002381b6135012b4334c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1666250 Commit-Queue: Debrian Figueroa <debrian@google.com> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Stephen Martinis <martiniss@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
125f7cc4d5
commit
dd2737e2b5
@@ -4,6 +4,7 @@
|
||||
|
||||
DEPS = [
|
||||
'presubmit',
|
||||
'recipe_engine/json'
|
||||
]
|
||||
|
||||
|
||||
@@ -12,4 +13,7 @@ def RunSteps(api):
|
||||
|
||||
|
||||
def GenTests(api):
|
||||
yield api.test('basic')
|
||||
yield (
|
||||
api.test('basic') +
|
||||
api.step_data('presubmit', api.json.output({}))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user