From e3c906b4e57dc6232f4657871430ba136caed41e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 24 Jun 2015 15:18:48 +0000 Subject: [PATCH] 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 --- scripts/run-regression-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 96b7d74fc..745e3d19d 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -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