From a068395618c2d42034901aab8e2886d8e842fa14 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 8 Oct 2012 13:21:41 +0000 Subject: [PATCH] nightly build: Improve sparse output filtering git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4551 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/run-regression-tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index a41c4d6da..4f9fffc94 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -342,8 +342,8 @@ function run_sparse { local warnings=$(grep -c ' warning:' "${outputfile}") echo "${errors} errors / ${warnings} warnings." cat "${outputfile}" \ - | grep -E 'warning:|error:' \ - | sed -e 's/^[^ ]*:[^ ]*:[^ ]*: //' \ + | grep -E ' warning:| error:' \ + | sed -e 's/^[^:]*:[0-9:]* //' \ -e "s/context imbalance in '[^']*':/context imbalance in :/g" \ -e "s/context problem in '[^']*': '[^']*'/context problem in : /g" \ -e "s/function '[^']*'/function/g" \