From 6b98e9a0efe0284c6914d8ffcb855959dc6e8803 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 25 Jun 2015 02:06:32 +0000 Subject: [PATCH] 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 --- 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