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:
Bart Van Assche
2013-02-23 13:56:11 +00:00
parent 52f0d63ee6
commit bf4e52170f

View File

@@ -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