jan Wed Oct 23 13:56:42 2002 EDT
Modified files:
/php4 run-tests.php Makefile.global
Log:
- use the cc that was detected by ./configure when determining version
information in run-tests.php
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.83 php4/run-tests.php:1.84
--- php4/run-tests.php:1.83 Wed Oct 23 08:54:57 2002
+++ php4/run-tests.php Wed Oct 23 13:56:42 2002
@@ -270,7 +270,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('cc -v'). "\n";
+ $failed_tests_data .= "Compiler:\n". shell_exec(getenv('CC').' -v').
+"\n";
$failed_tests_data .= "\n\n";
foreach ($GLOBALS['__PHP_FAILED_TESTS__'] as $test_info) {
Index: php4/Makefile.global
diff -u php4/Makefile.global:1.35 php4/Makefile.global:1.36
--- php4/Makefile.global:1.35 Wed Oct 23 04:46:49 2002
+++ php4/Makefile.global Wed Oct 23 13:56:42 2002
@@ -49,6 +49,7 @@
test: $(SAPI_CLI_PATH)
@TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
TEST_PHP_SRCDIR=$(top_srcdir) \
+ CC=$(CC) \
$(top_builddir)/$(SAPI_CLI_PATH) $(top_srcdir)/run-tests.php
$(TESTS)
clean:
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php