summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-03-12 06:43:15 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-03-12 06:43:15 +0000
commit7f8b2a653325e806f97725e704dcfda9e84ce25a (patch)
tree4416a3a9d60fb3378ea5665c7cf5eda4b2face4a /run-tests.php
parentf4b857f393bd98736caf39db5b82d0dcca88bf94 (diff)
downloadphp-git-7f8b2a653325e806f97725e704dcfda9e84ce25a.tar.gz
Fix PHP version and sapi printed so that it does not print bogus
version and sapi name.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index 79e0f5b249..0fd24ba2a7 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -284,8 +284,8 @@ function do_testing($argc, &$argv)
dowriteln(sprintf("Tests passed: %4d (%s%%)", $passed, $passed_pstr));
dowriteln("=============================");
dowriteln("Skipped ".sizeof($skipped_extensions)." extensions.");
- dowriteln("PHP SAPI: ".PHP_SAPI);
- dowriteln("PHP Version: ".PHP_VERSION);
+ $php_bin_info_cmd = "$php -q -f tests/bin-info.inc";
+ system($php_bin_info_cmd, $ret);
}
function find_testdirs($dir = '.', $first_pass = true)