From 94d526f8f05ff5d2a0d115cadf2eed9a1aca7ae7 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 14 Mar 2013 10:26:25 +0000 Subject: [PATCH] scripts: Merge up to r4792 from trunk git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4796 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 3c0fa4aac..72a7032b6 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