summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorJan Lehnardt <jan@php.net>2002-10-23 17:56:42 +0000
committerJan Lehnardt <jan@php.net>2002-10-23 17:56:42 +0000
commite96e0ae002e7a450fc1b56150f3163600951ba77 (patch)
tree61aa0db649260a9b9c76d17396f586aec13913e5 /run-tests.php
parentb7703551edd4dc3107bbe3e0916ac53e869354ed (diff)
downloadphp-git-e96e0ae002e7a450fc1b56150f3163600951ba77.tar.gz
- use the cc that was detected by ./configure when determining version
information in run-tests.php
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 9170155b66..d29b147bbd 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -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) {