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

From: Date: Tue, 19 Dec 2006 21:42:16 +0000
Subject: cvs: php-gcov-web /cron compile_results.php test_cc_regex.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-33562@lists.php.net to get a copy of this message
nlopess Tue Dec 19 21:42:16 2006 UTC Modified files: /php-gcov-web/cron test_cc_regex.php compile_results.php Log: take #2: fetch the function names from link time errors correctly http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/test_cc_regex.php?r1=1.1&r2=1.2&diff_format=u Index: php-gcov-web/cron/test_cc_regex.php diff -u php-gcov-web/cron/test_cc_regex.php:1.1 php-gcov-web/cron/test_cc_regex.php:1.2 --- php-gcov-web/cron/test_cc_regex.php:1.1 Tue Dec 19 20:27:44 2006 +++ php-gcov-web/cron/test_cc_regex.php Tue Dec 19 21:42:16 2006 @@ -62,7 +62,7 @@ // Regular expression to select the error and warning information // tuned for gcc 3.4, 4.0 and 4.1 - $gcc_regex = '/^((.+)(\(\.text\+[[:xdigit:]]+\))?: In function [`\'](\w+)\':\s+)?'. + $gcc_regex = '/^((.+)(\(\.text\+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 '/mS'; http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/compile_results.php?r1=1.3&r2=1.4&diff_format=u Index: php-gcov-web/cron/compile_results.php diff -u php-gcov-web/cron/compile_results.php:1.3 php-gcov-web/cron/compile_results.php:1.4 --- php-gcov-web/cron/compile_results.php:1.3 Tue Dec 19 20:27:44 2006 +++ php-gcov-web/cron/compile_results.php Tue Dec 19 21:42:16 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: compile_results.php,v 1.3 2006/12/19 20:27:44 nlopess Exp $ */ +/* $Id: compile_results.php,v 1.4 2006/12/19 21:42:16 nlopess Exp $ */ // Compile Results generation script @@ -42,7 +42,7 @@ { // Regular expression to select the error and warning information // tuned for gcc 3.4, 4.0 and 4.1 - $gcc_regex = '/^((.+)(\(\.text\+[[:xdigit:]]+\))?: In function [`\'](\w+)\':\s+)?'. + $gcc_regex = '/^((.+)(\(\.text\+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 '/mS';

« previous php.mirrors (#33562) next »