mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/run-regression-tests: Summarize 3.8+ CamelCase warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4770 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -200,7 +200,10 @@ function run_checkpatch {
|
||||
local errors=$(grep -c '^ERROR' "${outputfile}")
|
||||
local warnings=$(grep -c '^WARNING' "${outputfile}")
|
||||
echo "${errors} errors / ${warnings} warnings."
|
||||
grep -E '^WARNING|^ERROR' "${outputfile}" | sort | uniq -c
|
||||
grep -E '^WARNING|^ERROR' "${outputfile}" |
|
||||
sort |
|
||||
sed 's/^WARNING: Avoid CamelCase:.*/WARNING: Avoid CamelCase/' |
|
||||
uniq -c
|
||||
else
|
||||
echo "Skipping checkpatch step for kernel $1."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user