cvs: php4 / run-tests.php
| From: | Sander Roobol | Date: | Mon, 07 Oct 2002 15:16:48 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14651@lists.php.net to get a copy of this message | ||
sander Mon Oct 7 11:16:48 2002 EDT
Modified files:
/php4 run-tests.php
Log:
Temporary (?) workaround (?) for is_executable() on Windows.
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.61 php4/run-tests.php:1.62
--- php4/run-tests.php:1.61 Sun Oct 6 20:05:20 2002
+++ php4/run-tests.php Mon Oct 7 11:16:47 2002
@@ -74,7 +74,7 @@
$log_format = 'LEOD';
}
-if (!@is_executable($php)) {
+if (function_exists('is_executable') && !@is_executable($php)) {
error("invalid PHP executable specified by TEST_PHP_EXECUTABLE = " . $php);
}