Re: cvs: php4 / README.TESTING
| From: | derick@php.net | Date: | Tue, 05 Mar 2002 07:28:01 +0000 |
| Subject: | Re: cvs: php4 / README.TESTING | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-9679@lists.php.net to get a copy of this message | ||
On Tue, 5 Mar 2002, Yasuo Ohgaki wrote:
> [Which "php" executable "make test" look for]
> ---------------------------------------------
> "make test" executes "run-tests.php" script with
> "./sapi/cli/php".
> Although, "run-tests.php" is executed by CLI SAPI binary, test
> scripts must be executed by CGI SAPI. Therefore, you must build
> PHP with CGI SAPI to perform tests.
>
> "run-tests.php" look for "php" executable in build top directory,
> then look for search path. Therefore, if you have "php" executable
> other than CGI SAPI in your search path or source root, tests may fail.
Isn't it an idea just to modify the scripts so that it uses the cli
version always?
Derick