summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-18 17:58:56 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-18 17:58:56 +0000
commit01476c3ea7ff4970eeae5af17b98250c6aa786ab (patch)
tree69a56902e274d2ac2118185e970a4e24b4759cc9
parentf0b0e2cd19c67466d91eb51888dbd062cd7a6416 (diff)
downloadphp-git-01476c3ea7ff4970eeae5af17b98250c6aa786ab.tar.gz
fix error message on `make test` when bison is not installed
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index c2052341b4..b62240e4f7 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -738,7 +738,7 @@ if ($just_save_results || !getenv('NO_INTERACTION')) {
$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";