cvs: php-gcov-web /cron tests.php
| From: | Nuno Lopes | Date: | Wed, 31 Jan 2007 16:19:07 +0000 |
| Subject: | cvs: php-gcov-web /cron tests.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-33992@lists.php.net to get a copy of this message | ||
nlopess Wed Jan 31 16:19:07 2007 UTC
Modified files:
/php-gcov-web/cron tests.php
Log:
OMFG, kde mangled the line-endings yesterday... fixing this stupid thing
http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/tests.php?r1=1.6&r2=1.7&diff_format=u
Index: php-gcov-web/cron/tests.php
diff -u php-gcov-web/cron/tests.php:1.6 php-gcov-web/cron/tests.php:1.7
--- php-gcov-web/cron/tests.php:1.6 Tue Jan 30 18:32:42 2007
+++ php-gcov-web/cron/tests.php Wed Jan 31 16:19:07 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tests.php,v 1.6 2007/01/30 18:32:42 nlopess Exp $ */
+/* $Id: tests.php,v 1.7 2007/01/31 16:19:07 nlopess Exp $ */
// Tests generation file
// $data: contains the contents of $tmpdir/php_test.log
@@ -26,7 +26,7 @@
$fail_tests = array();
$skip_tests = array();
$valgrind = array();
-$tests_re = '/^(?P<status>[A-Z&]+)(?::(?P<testtype>[UN]))? (?P<title>.+)
\[(?P<file>[^\]]+)\](?: reason: (?P<reason>.+))?/m';
+$tests_re = '/\r(?P<status>[A-Z&]+)(?::(?P<testtype>[UN]))?
(?P<title>.+) \[(?P<file>[^\]]+)\](?: reason: (?P<reason>.+))?/';
preg_match_all($tests_re, $data, $tests, PREG_SET_ORDER);