diff options
author | Stig Bakken <ssb@php.net> | 2002-05-09 06:39:05 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2002-05-09 06:39:05 +0000 |
commit | fdb724bffcc5a6e84e6499c1f7014aa5e1f33bee (patch) | |
tree | 5743a84726c80e658141240fdd4e775792a9d4cd /run-tests.php | |
parent | 2225be36d6821594f7f877995d705bf1c919b310 (diff) | |
download | php-git-fdb724bffcc5a6e84e6499c1f7014aa5e1f33bee.tar.gz |
* try the installed cli binary if everything else fails (I'm starting
to agree that looking too hard for a php binary is wrong)
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php index 2496ea6c72..d5bf760f21 100755 --- a/run-tests.php +++ b/run-tests.php @@ -189,6 +189,8 @@ function initialize() $php = $_ENV["TOP_BUILDDIR"]."/sapi/cli/php{$ext}"; } elseif (@is_executable("./sapi/cli/php{$ext}")) { $php = getcwd() . "/sapi/cli/php{$ext}"; + } elseif (@is_executable(PHP_BINDIR . "/php{$ext}")) { + $php = PHP_BINDIR . "/php{$ext}"; } // Test result can be bogus, if we use php binary in path. - yohgaki@php.net // if (empty($php)) { @@ -629,4 +631,11 @@ function run_test($file) return $status; } +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + */ ?> |