mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user