[coreboot-gerrit] Change in coreboot[master]: util/lint: use a more compact output format
Patrick Georgi (Code Review)
gerrit at coreboot.org
Wed May 30 18:44:24 CEST 2018
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 at 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
--
To view, visit https://review.coreboot.org/26703
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d1f6adebae5b68a51e89c2833f8713f0ffcb616
Gerrit-Change-Number: 26703
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180530/597e1f7b/attachment.html>
More information about the coreboot-gerrit
mailing list