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