From bf4e52170fe999da0061a681726e774ea81cccd0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 23 Feb 2013 13:56:11 +0000 Subject: [PATCH] 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 --- scripts/run-regression-tests | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 4f9fffc94..3298596bc 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -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