helly Wed Apr 2 03:34:57 2003 EDT Modified files: (Branch: PHP_4_3) /php4 run-tests.php Log: MFH 'auto' Index: php4/run-tests.php diff -u php4/run-tests.php:1.119.2.20 php4/run-tests.php:1.119.2.21 --- php4/run-tests.php:1.119.2.20 Fri Mar 28 16:08:58 2003 +++ php4/run-tests.php Wed Apr 2 03:34:56 2003 @@ -73,7 +73,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