cvs: php-gcov-web(SOC06) /cron tests.php

From: Date: Mon, 21 Aug 2006 18:13:32 +0000
Subject: cvs: php-gcov-web(SOC06) /cron tests.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32208@lists.php.net to get a copy of this message
pronych Mon Aug 21 18:13:32 2006 UTC Modified files: (Branch: SOC06) /php-gcov-web/cron tests.php Log: Fixed personal error in tests.php http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/tests.php?r1=1.1.2.6&r2=1.1.2.7&diff_format=u Index: php-gcov-web/cron/tests.php diff -u php-gcov-web/cron/tests.php:1.1.2.6 php-gcov-web/cron/tests.php:1.1.2.7 --- php-gcov-web/cron/tests.php:1.1.2.6 Mon Aug 21 04:02:24 2006 +++ php-gcov-web/cron/tests.php Mon Aug 21 18:13:32 2006 @@ -74,21 +74,19 @@ $testtype = 'Native'; } - $report_file .= 'phpt'; - // Note: the hash reflects the exact filename for native // i.e. unicode would be file.u.phpt and native file.phpt - $hash = md5($report_file); + $hash = md5($report_file.'phpt'); // Failed tests provide more content then passed tests if($status == 'fail') { // These variables are only used for failed tests - $difference = file_get_contents($base.'diff') + $difference = file_get_contents($report_file.'diff') or $difference = 'N\A'; - $expected = file_get_contents($base.'exp') + $expected = file_get_contents($report_file.'exp') or $expected = 'N\A'; - $output = file_get_contents($base.'out') + $output = file_get_contents($report_file.'out') or $output = 'N\A'; $script = file_get_contents($base.'php') or $script = 'Script contents not available.';

« previous php.mirrors (#32208) next »