scripts/run-regression-tests: Filter line numbers from the smatch output (merge r6400 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6401 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-25 02:06:32 +00:00
parent 06ca9e456b
commit 6b98e9a0ef
+1 -1
View File
@@ -391,7 +391,7 @@ function run_smatch {
echo "${errors} errors / ${warnings} warnings."
cat "${outputfile}" |
grep -E ' info:| warning:| error:' |
sed 's/^\([^:]*\):[0-9:]* /\1: /' |
sed 's/^\([^:]*\):[0-9:]* /\1: /;s/\((see line \)[0-9]*\()\)/\1...\2/' |
sort |
uniq -c
else