jani Tue Aug 5 16:25:31 2008 UTC Modified files: /php-src run-tests.php Log: - No need to load any php.ini here http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.372&r2=1.373&diff_format=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.372 php-src/run-tests.php:1.373 --- php-src/run-tests.php:1.372 Sat Aug 2 13:39:26 2008 +++ php-src/run-tests.php Tue Aug 5 16:25:31 2008 @@ -24,7 +24,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: run-tests.php,v 1.372 2008/08/02 13:39:26 felipe Exp $ */ +/* $Id: run-tests.php,v 1.373 2008/08/05 16:25:31 jani 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 @@ -231,7 +231,7 @@ settings2array($ini_overwrites, $info_params); settings2params($info_params); $php_info = `$php $pass_options $info_params "$info_file"`; - define('TESTED_PHP_VERSION', `$php -r "echo PHP_VERSION;"`); + define('TESTED_PHP_VERSION', `$php -n -r "echo PHP_VERSION;"`); if ($php_cgi && $php != $php_cgi) { $php_info_cgi = `$php_cgi $pass_options $info_params -q "$info_file"`; @@ -608,7 +608,7 @@ $html_output = is_resource($html_file); break; case '--version': - echo '$Revision: 1.372 $' . "\n"; + echo '$Revision: 1.373 $' . "\n"; exit(1); default:
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php