]> granicus.if.org Git - php/commitdiff
MFH: fix error message on `make test` when bison is not installed
authorAntony Dovgal <tony2001@php.net>
Wed, 18 Jan 2006 17:59:20 +0000 (17:59 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 18 Jan 2006 17:59:20 +0000 (17:59 +0000)
run-tests.php

index b9924583f73496753e02ed5da80b5329579a83c3..3b03a0eb09093b4381fff13c62e08c20068adcc8 100755 (executable)
@@ -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";