summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorJan Lehnardt <jan@php.net>2002-10-24 09:06:31 +0000
committerJan Lehnardt <jan@php.net>2002-10-24 09:06:31 +0000
commitb2a80311443ee1a4afeb50321bf18c6c22971e4e (patch)
treef448d09c8c285e78850dbc1c6de033380f7ce95d /run-tests.php
parentcf4d435a12c821bcdf34b55ff156831c608219fc (diff)
downloadphp-git-b2a80311443ee1a4afeb50321bf18c6c22971e4e.tar.gz
- gcc prints -v information on stderr, make sure that we catch it anyway.
- I hope this does not cause problems with other compilers or shells. IMHO we - already rely on /bin/sh anyway, right?
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index b33105f76b..0a9537a3dc 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -273,7 +273,7 @@ if ($sum_results['FAILED'] && !getenv('NO_INTERACTION')) {
$failed_tests_data .= "Autoconf:\n". shell_exec('autoconf --version'). "\n";
$failed_tests_data .= "Libtool:\n". shell_exec('libtool --version'). "\n";
$failed_tests_data .= "Bison:\n". shell_exec('bison --version'). "\n";
- $failed_tests_data .= "Compiler:\n". shell_exec(getenv('CC').' -v'). "\n";
+ $failed_tests_data .= "Compiler:\n". shell_exec(getenv('CC').' -v 2>&1'). "\n";
$failed_tests_data .= "\n\n";
foreach ($GLOBALS['__PHP_FAILED_TESTS__'] as $test_info) {