Marcus Börger wrote:
> At 15:43 28.09.2002, Yasuo Ohgaki wrote:
>>> On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote:
>> 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.

I tested as follows

 >> export TEST_PHP_EXECUTABLE=./sapi/cgi/php-cgi; ./sapi/cgi/php-cgi -c
 >> php.ini-dist -q -f ./run-tests.php

and I get following errors for each test script.

PHP Fatal error:  Unknown(): Unable to open  in Unknown on line 0
Unknown(0) : Fatal error - Unknown(): Unable to open
FAIL ctype on integers (001.phpt)

It could be temporary(?) error with CVS source, though.
Does/did it work for you?

--
Yasuo Ohgaki



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

Reply via email to