cvs: php4 / run-tests.php
| From: | Jan Lehnardt | Date: | Thu, 24 Oct 2002 09:06:31 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15275@lists.php.net to get a copy of this message | ||
jan Thu Oct 24 05:06:31 2002 EDT
Modified files:
/php4 run-tests.php
Log:
- 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?
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.86 php4/run-tests.php:1.87
--- php4/run-tests.php:1.86 Wed Oct 23 16:53:20 2002
+++ php4/run-tests.php Thu Oct 24 05:06:31 2002
@@ -273,7 +273,7 @@
$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) {