mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
- use the cc that was detected by ./configure when determining version
information in run-tests.php
This commit is contained in:
parent
b7703551ed
commit
e96e0ae002
@ -49,6 +49,7 @@ install-su: install-pear install-tester
|
||||
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:
|
||||
|
@ -270,7 +270,7 @@ if ($sum_results['FAILED']) {
|
||||
$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) {
|
||||
|
Loading…
Reference in New Issue
Block a user