From: Antony Dovgal Date: Wed, 18 Jan 2006 17:59:41 +0000 (+0000) Subject: MFH: fix error message on `make test` when bison is not installed X-Git-Tag: php-4.4.3RC1~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38cf5db6d254e92168a6750ec1fc6c33b0cd88bf;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 6404f39f04..76924bedd8 100755 --- a/run-tests.php +++ b/run-tests.php @@ -430,7 +430,7 @@ if (!getenv('NO_INTERACTION')) { $failed_tests_data .= "Autoconf:\n$autoconf\n"; $failed_tests_data .= "Libtool:\n$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";