cvs: php-gcov-web /cron compile_results.php test_cc_regex.php

From: Date: Mon, 11 Aug 2008 21:52:16 +0000
Subject: cvs: php-gcov-web /cron compile_results.php test_cc_regex.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-2378@lists.php.net to get a copy of this message
nlopess Mon Aug 11 21:52:16 2008 UTC Modified files: /php-gcov-web/cron compile_results.php test_cc_regex.php Log: fix capture of errors with column information http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/compile_results.php?r1=1.7&r2=1.8&diff_format=u Index: php-gcov-web/cron/compile_results.php diff -u php-gcov-web/cron/compile_results.php:1.7 php-gcov-web/cron/compile_results.php:1.8 --- php-gcov-web/cron/compile_results.php:1.7 Fri Dec 29 20:25:33 2006 +++ php-gcov-web/cron/compile_results.php Mon Aug 11 21:52:15 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: compile_results.php,v 1.7 2006/12/29 20:25:33 nlopess Exp $ */ +/* $Id: compile_results.php,v 1.8 2008/08/11 21:52:15 nlopess Exp $ */ // Compile Results generation script @@ -33,8 +33,8 @@ // Regular expression to select the error and warning information // tuned for gcc 3.4, 4.0 and 4.1 $gcc_regex = '/^((.+)(\(\.[a-z]+\+0x[[:xdigit:]]+\))?: In function [`\'](\w+)\':\s+)?'. - '((?(1)(?(3)[^:\n]+|\2)|[^:\n]+)):(\d+): (?:(error|warning):\s+)?(.+)'. - str_repeat('(?:\s+\5:(\d+): (?:(error|warning):\s+)?(.+))?', 99). // capture up to 100 errors + '((?(1)(?(3)[^:\n]+|\2)|[^:\n]+)):(\d+)(?::\d+)?: (?:(error|warning):\s+)?(.+)'. + str_repeat('(?:\s+\5:(\d+)(?::\d+)?: (?:(error|warning):\s+)?(.+))?', 99). // capture up to 100 errors '/mS'; preg_match_all($gcc_regex, $data, $data, PREG_SET_ORDER); http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/test_cc_regex.php?r1=1.3&r2=1.4&diff_format=u Index: php-gcov-web/cron/test_cc_regex.php diff -u php-gcov-web/cron/test_cc_regex.php:1.3 php-gcov-web/cron/test_cc_regex.php:1.4 --- php-gcov-web/cron/test_cc_regex.php:1.3 Fri Dec 29 20:25:33 2006 +++ php-gcov-web/cron/test_cc_regex.php Mon Aug 11 21:52:15 2008 @@ -60,13 +60,14 @@ /p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:2259: undefined reference to `SWFMovie_foo' ext/ming/ming.o(.text+0x851): In function `zif_ming_setSWFCompression': /p2/var/php_gcov/PHP_5_2/ext/ming/ming.c:154: undefined reference to `Ming_setSWFCompression' +/var/php_gcov/PHP_HEAD/ext/mbstring/mbstring.c:89:18: error: pcre.h: No such file or directory "; // Regular expression to select the error and warning information // tuned for gcc 3.4, 4.0 and 4.1 $gcc_regex = '/^((.+)(\(\.[a-z]+\+0x[[:xdigit:]]+\))?: In function [`\'](\w+)\':\s+)?'. - '((?(1)(?(3)[^:\n]+|\2)|[^:\n]+)):(\d+): (?:(error|warning):\s+)?(.+)'. - str_repeat('(?:\s+\5:(\d+): (?:(error|warning):\s+)?(.+))?', 99). // capture up to 100 errors + '((?(1)(?(3)[^:\n]+|\2)|[^:\n]+)):(\d+)(?::\d+)?: (?:(error|warning):\s+)?(.+)'. + str_repeat('(?:\s+\5:(\d+)(?::\d+)?: (?:(error|warning):\s+)?(.+))?', 99). // capture up to 100 errors '/mS';

« previous php.webmaster (#2378) next »