helly Sun Mar 30 09:38:48 2003 EDT
Modified files:
/php4 run-tests.php
Log:
if TEST_PHP_EXECUTABLE=auto then use ./sapi/cli/php
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.153 php4/run-tests.php:1.154
--- php4/run-tests.php:1.153 Fri Mar 28 16:04:45 2003
+++ php4/run-tests.php Sun Mar 30 09:38:48 2003
@@ -112,7 +112,11 @@
if (getenv('TEST_PHP_EXECUTABLE')) {
$php = getenv('TEST_PHP_EXECUTABLE');
-} else {
+ if ($php=='auto') {
+ $php = $cwd.'/sapi/cli/php';
+ }
+}
+if (!file_exists($php)) {
error("environment variable TEST_PHP_EXECUTABLE must be set to specify PHP
executable!");
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php