Skip to content

Commit

Permalink
- use the cc that was detected by ./configure when determining version
Browse files Browse the repository at this point in the history
   information in run-tests.php
  • Loading branch information
Jan Lehnardt committed Oct 23, 2002
1 parent b770355 commit e96e0ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile.global
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion run-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function find_files($dir,$is_ext_dir=FALSE,$ignore=FALSE)
$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) {
Expand Down

0 comments on commit e96e0ae

Please sign in to comment.