Re: Re: cvs: php4 / README.TESTING

From: Date: Tue, 05 Mar 2002 08:58:47 +0000
Subject: Re: Re: cvs: php4 / README.TESTING
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80731@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 description for now. Test script does _NOT_ work with CLI SAPI's php binary.
Yeah, but why doesn't it work?
I guess you've already figure out, but anyway. Edin mentioned in Delivered-To: mailing list php-cvs@lists.php.net To: "Stig Bakken" <ssb@fast.no>, <php-cvs@lists.php.net> Subject: Re: [PHP-CVS] cvs: php4 /build rules.mk From: edink@proventum.net (Edin Kadribasic) --- begin --- Hi Stig, I think that this patch needs to be reversed for now. This change only affects the php executable that make runs, the actual test are executed from run-tests.php. Yesterday I tried to do the exect same thing but with no luck. If we wanted to switch to use cli for tests (and I think we should) run-tests.php need major rework. There are segments that read:
        putenv("REQUEST_METHOD=GET");
        putenv("CONTENT_TYPE=");
        putenv("CONTENT_LENGTH=");
cli happilly ignores these. Plus cli does not change CWD to that of the script, so some tests need to be readjusted. Edin --- end --- There may be others things makes run-tests.php makes imcompatible with CLI. -- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.dev (#80731) next »