cvs: php4 / run-tests.php

From: Date: Sun, 30 Mar 2003 14:38:48 +0000
Subject: cvs: php4 / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19854@lists.php.net to get a copy of this message
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!"); }

« previous php.cvs (#19854) next »