Re: cvs: php4 / README.TESTING
| From: | Yasuo Ohgaki | Date: | Tue, 05 Mar 2002 07:56:04 +0000 |
| Subject: | Re: cvs: php4 / README.TESTING | ||
| References: | 1 2 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-cvs+get-9680@lists.php.net to get a copy of this message | ||
derick@php.net wrote:
On Tue, 5 Mar 2002, Yasuo Ohgaki wrote:Thanks for catching this. I should have fix this desription for now. Test script does _NOT_ work with CLI SAPI's php binary. I'll commit fixed version soon. -- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com[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?