util/lint: use a more compact output format
It now looks like this: Check that files have license headers (lint-stable-000-license-headers): success Check for superfluous whitespace in the tree (lint-stable-003-whitespace): success Check that C labels begin at start-of-line (lint-stable-004-style-labels): success Change-Id: I9d1f6adebae5b68a51e89c2833f8713f0ffcb616 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/26703 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
e098c8a593
commit
4f41336fd8
|
@ -49,9 +49,8 @@ fi
|
|||
|
||||
#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 @@ for script in "$(dirname "$0")/${1}-"*; do
|
|||
rm -f "$LINTLOG"
|
||||
FAILED=$(( FAILED + 1 ))
|
||||
fi
|
||||
echo "========"
|
||||
junit_write ' </testcase>'
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue