summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-18 17:59:20 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-18 17:59:20 +0000
commit26ef74f867b7bc14a5c6c8d23923ca576da3cfb1 (patch)
treecf1fae33d46ef6eec2f2edfc34ebf0b7a9bb56fd /run-tests.php
parentf0a60af87674a477ffd15bd8f07202c90110e1da (diff)
downloadphp-git-26ef74f867b7bc14a5c6c8d23923ca576da3cfb1.tar.gz
MFH: fix error message on `make test` when bison is not installed
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index b9924583f7..3b03a0eb09 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -714,7 +714,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";