Re: cvs: php4 /build rules.mk
| From: | Edin Kadribasic | Date: | Fri, 01 Mar 2002 09:45:05 +0000 |
| Subject: | Re: cvs: php4 /build rules.mk | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-9534@lists.php.net to get a copy of this message | ||
> ssb Fri Mar 1 03:57:07 2002 EDT
>
> Modified files:
> /php4/build rules.mk
> Log:
> * use cli sapi to run tests
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