pajoye Thu Jun 19 21:09:43 2008 UTC Modified files: (Branch: PHP_5_3) /php-src run-tests.php Log: - remove debug code http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.35.2.24&r2=1.226.2.37.2.35.2.25&diff_format=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.226.2.37.2.35.2.24 php-src/run-tests.php:1.226.2.37.2.35.2.25 --- php-src/run-tests.php:1.226.2.37.2.35.2.24 Thu Jun 19 21:08:56 2008 +++ php-src/run-tests.php Thu Jun 19 21:09:43 2008 @@ -24,7 +24,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: run-tests.php,v 1.226.2.37.2.35.2.24 2008/06/19 21:08:56 sfox Exp $ */ +/* $Id: run-tests.php,v 1.226.2.37.2.35.2.25 2008/06/19 21:09:43 pajoye Exp $ */ /* Sanity check to ensure that pcre extension needed by this script is available. * In the event it is not, print a nice error message indicating that this script will @@ -447,7 +447,7 @@ $html_output = is_resource($html_file); break; case '--version': - echo '$Revision: 1.226.2.37.2.35.2.24 $'."\n"; + echo '$Revision: 1.226.2.37.2.35.2.25 $'."\n"; exit(1); case 'u': @@ -875,7 +875,7 @@ function save_text($filename, $text, $filename_copy = null) { global $DETAILED; -file_put_contents('steph.test.again.php', $text); + if ($filename_copy && $filename_copy != $filename) { if (@file_put_contents($filename_copy, $text) === false) { error("Cannot open file '" . $filename_copy . "' (save_text)");
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php