From ffcabedf9c8015c6204d153e9466b71427a048c9 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Fri, 7 Sep 2012 07:25:36 +0000 Subject: [PATCH] Task #514: Repaired make script, matching more warnings --- jenkins_make | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jenkins_make b/jenkins_make index 1b9a5c94457..54079032ad4 100755 --- a/jenkins_make +++ b/jenkins_make @@ -11,7 +11,7 @@ SCRIPT=`mktemp` # ----- filter gcc warnings, for example: # /usr/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer ... -if (m#^([/._ A-Za-z0-9-]+):([0-9]+): warning: +(.*)$#) { +if (m#^([/._ A-Za-z0-9-]+):([0-9]+):[0-9:]* warning: +(.*)$#) { $file = $1; $line = $2; $warning = $3; @@ -43,7 +43,9 @@ if (m#^([/._ A-Za-z0-9-]+):([0-9]+): warning: +(.*)$#) { # ------ filter ld warnings, for example: # SocketStream.cc:(.text+0x482c): warning: Using 'getaddrinfo' in statically linked ... -if (m#^([/._ A-Za-z0-9-]+):\([+.A-Za-z0-9]+\): warning: (.*)$#) { +# (.text+0x2e9c): warning: Using 'endpwent' in statically linked ... +if ( m#^([/._ A-Za-z0-9-]+):\([+.A-Za-z0-9]+\): warning: (.*)$# + || m#^()\([+.A-Za-z0-9]+\): warning: (.*)$#) { $file = $1; $warning = $2; -- GitLab