]> granicus.if.org Git - php/commitdiff
Include ldd output
authorMarcus Boerger <helly@php.net>
Sat, 5 Apr 2003 12:16:29 +0000 (12:16 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 5 Apr 2003 12:16:29 +0000 (12:16 +0000)
run-tests.php

index 56345c916fb69b8a5ede70fe21125f2cf27a411a..e559f39561c8f0e1c6fb67980c0a049fadaa15fd 100755 (executable)
@@ -384,7 +384,7 @@ if (!getenv('NO_INTERACTION')) {
                
                $failed_tests_data .= "\n" . $sep . 'BUILD ENVIRONMENT' . $sep;
                $failed_tests_data .= "OS:\n". PHP_OS. "\n\n";
-               $automake = $autoconf = $libtool = $compiler = 'N/A';
+               $ldd = $automake = $autoconf = $libtool = $compiler = 'N/A';
 
                if (substr(PHP_OS, 0, 3) != "WIN") {
                        $automake = shell_exec('automake --version');
@@ -401,12 +401,14 @@ if (!getenv('NO_INTERACTION')) {
                                        break;
                                }
                        }
+                       $ldd = shell_exec("ldd $php");
                }
                $failed_tests_data .= "Automake:\n$automake\n";
                $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 .= "Libraries:\n$ldd\n";
                $failed_tests_data .= "\n";
                
                if (isset($user_email)) {