cvs: php-src(PHP_5_1) / run-tests.php
| From: | Antony Dovgal | Date: | Wed, 18 Jan 2006 17:59:20 +0000 |
| Subject: | cvs: php-src(PHP_5_1) / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36568@lists.php.net to get a copy of this message | ||
tony2001 Wed Jan 18 17:59:20 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src run-tests.php
Log:
MFH: fix error message on
make test when bison is not installed
http://cvs.php.net/viewcvs.cgi/php-src/run-tests.php?r1=1.226.2.28&r2=1.226.2.29&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.28 php-src/run-tests.php:1.226.2.29
--- php-src/run-tests.php:1.226.2.28 Wed Jan 11 15:19:52 2006
+++ php-src/run-tests.php Wed Jan 18 17:59:20 2006
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.226.2.28 2006/01/11 15:19:52 mike Exp $ */
+/* $Id: run-tests.php,v 1.226.2.29 2006/01/18 17:59:20 tony2001 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
@@ -384,7 +384,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.226.2.28 $'."\n";
+ echo '$Revision: 1.226.2.29 $'."\n";
exit(1);
default:
echo "Illegal switch '$switch' specified!\n";
@@ -714,7 +714,7 @@
$failed_tests_data .= "Bundled Libtool:\n$libtool\n";
$failed_tests_data .= "System Libtool:\n$sys_libtool\n";
$failed_tests_data .= "Compiler:\n$compiler\n";
- $failed_tests_data .= "Bison:\n". @shell_exec('bison --version').
"\n";
+ $failed_tests_data .= "Bison:\n". @shell_exec('bison --version
2>/dev/null'). "\n";
$failed_tests_data .= "Libraries:\n$ldd\n";
$failed_tests_data .= "\n";