diff options
author | Naresh G Solanki <naresh.solanki@intel.com> | 2018-01-25 19:02:25 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-09 08:18:43 +0000 |
commit | a6464b7ffd08b2e060a8c132f27aa2d8d77cb041 (patch) | |
tree | 5564a4bf511b2dcb8510c691aa36345ab569a635 /configs/config.intel_galileo_gen2.fsp1.1 | |
parent | 6053a9ce05c1ca9c8919689fd766e14f4a8b4884 (diff) | |
download | coreboot-a6464b7ffd08b2e060a8c132f27aa2d8d77cb041.tar.xz |
util/lint: Generate json output from checkpatch output
checkpatch_json.py processes the output of checkpatch.pl &
generates json format output of comments.
This json format output can be used to post comment on particular
CL using gerrit.
BUG=None
BRANCH=None
TEST= Run following commands:
1. Capture output of checkpatch.pl to file say checkpatch.txt
nice -n 20 git diff HEAD~ | util/lint/checkpatch.pl --no-signoff -q - |
tee checkpatch.txt
2. Generate json format file for the output.
util/lint/checkpatch_json.py checkpatch.txt comment.json
3. Post the comment.json using gerrit
ssh coreboot.org gerrit review -j "<CL number>,<patchset number>" < comment.json
Change-Id: I2471792796ab8e7d9855a6559fc731345ebd1525
Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-on: https://review.coreboot.org/23429
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'configs/config.intel_galileo_gen2.fsp1.1')
0 files changed, 0 insertions, 0 deletions