Re: Re: cvs: php4 / README.TESTING
| From: | Stig S. Bakken | Date: | Tue, 05 Mar 2002 14:38:03 +0000 |
| Subject: | Re: Re: cvs: php4 / README.TESTING | ||
| References: | 1 2 3 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-dev+get-80740@lists.php.net to get a copy of this message | ||
On Tue, 2002-03-05 at 09:00, Yasuo Ohgaki wrote:
> derick@php.net wrote:
> >
> > Isn't it an idea just to modify the scripts so that it uses the cli
> > version always?
> >
>
> Stig changed so that make test uses cli sapi.
> Edin said it wouldn't work, and it does not work for me also.
>
> We should use:
> CGI sapi unless we make test script work with CLI sapi
> or
> Skip tests that does not work with CLI sapi.
>
> I would like to skip tests that does not work with CLI,
> but I don't have time to change run-tsets.php.
>
> Stig is working for it, may be?
Some of the point with always building sapi/cli is that we should not
have to do a cgi build for everything, including running tests.
I think we (well, I since I'm the one who broke it :-) should fix the
path problems introduced by using sapi/cli, and keep using cli. The
tests that use CGI environment variables should move to sapi/cgi/tests,
and be executed with the CGI executable if it is built, or just skipped
if not.
- Stig