At 15:43 28.09.2002, Yasuo Ohgaki wrote:
>Jan Lehnardt wrote:
>>Hi,
>>On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote:
>>
>>>Does anyone find problem in this patch?
>>I think 'make test' must be adjusted to these changes, not sure though.
>
>AFAIK, "make test" depends on CLI sapi now and run-tests.php
>can only be executed by CLI sapi.
>
>We are better to make run-tests.php runs under CGI sapi.
>Otherwise, some tests must be skipped always.
>
>Is there way to execute run-tests.php with CGI sapi?
>I don't follow run-tests.php changes well recently.
>
>export TEST_PHP_EXECUTABLE=./sapi/cgi/php-cgi; ./sapi/cgi/php-cgi -c 
>php.ini-dist -q -f ./run-tests.php
>
>does not work at least.

Only set the executable to the cgi and it works.

 >export TEST_PHP_EXECUTABLE=./sapi/cgi/php-cgi

or call it directly

 >./sapi/cgi/php-cgi -c php.ini-dist -q -f ./run-tests.php

The handling of the ini file is *hi* because the script tests which ini 
file itself uses but not
which ini file is used for the tests :-(

I do not have the time now but i keep this in mind.

marcus


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to