Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/26703
Change subject: util/lint: use a more compact output format ......................................................................
util/lint: use a more compact output format
Change-Id: I9d1f6adebae5b68a51e89c2833f8713f0ffcb616 Signed-off-by: Patrick Georgi pgeorgi@chromium.org --- M util/lint/lint 1 file changed, 2 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/26703/1
diff --git a/util/lint/lint b/util/lint/lint index 253a6e6..fcce45f 100755 --- a/util/lint/lint +++ b/util/lint/lint @@ -49,9 +49,8 @@
#run all scripts of the requested type for script in "$(dirname "$0")/${1}-"*; do - printf "\n%s\n" "$(basename "$script")" - grep "^# DESCR:" "$script" | sed "s,.*DESCR: *,," - echo "========" + printf "%s " "$(grep '^# DESCR:' "$script" | sed 's,.*DESCR: *,,')" + printf "(%s): " "$(basename "$script")" junit_write " <testcase classname='lint' name='$(basename "$script")'>" $script | tee "$LINTLOG"
@@ -67,7 +66,6 @@ rm -f "$LINTLOG" FAILED=$(( FAILED + 1 )) fi - echo "========" junit_write ' </testcase>' done