scripts/run-regression-tests: Filter line numbers from the smatch output

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6400 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-24 15:18:48 +00:00
parent 2b209aedcd
commit e3c906b4e5

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