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) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php