cvs: php4 / run-tests.php
| From: | Stig Bakken | Date: | Thu, 09 May 2002 06:39:11 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11758@lists.php.net to get a copy of this message | ||
ssb Thu May 9 02:39:11 2002 EDT
Modified files:
/php4 run-tests.php
Log:
* try the installed cli binary if everything else fails (I'm starting
to agree that looking too hard for a php binary is wrong)
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.41 php4/run-tests.php:1.42
--- php4/run-tests.php:1.41 Wed May 8 03:23:54 2002
+++ php4/run-tests.php Thu May 9 02:39:05 2002
@@ -189,6 +189,8 @@
$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 @@
return $status;
}
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * indent-tabs-mode: t
+ * End:
+ */
?>