From: Antony Dovgal Date: Wed, 18 Jan 2006 17:59:20 +0000 (+0000) Subject: MFH: fix error message on `make test` when bison is not installed X-Git-Tag: php-5.1.3RC1~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26ef74f867b7bc14a5c6c8d23923ca576da3cfb1;p=php MFH: fix error message on `make test` when bison is not installed --- 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";