On Fri, Mar 12, 2010 at 8:10 PM, Alexey Zakhlestin <indey...@gmail.com> wrote:
>
> On 12.03.2010, at 22:06, Pierre Joye wrote:
>
>> Many tests fail because they are written for a given platform, or even
>> worst (from a portability point of view), only for a given
>> configuration (library version, system version,etc.). And that's not
>> about windows vs other, tests can work on a Debian/ubuntu version and
>> fail on another.
>
> Well, these tests should just be removed/rewritten.
> Php-tests should test php, not libraries

I would be interested to know how can we test the file API without
testing libc, for example.

But yes, that's the idea. Redesign the tests in a way that we output
something when the results of the test is not what was expected,
instead of testing random outputs from random libraries (in various
versions and flavours). No big change in run-tests (none?) but a lot
of necessary changes in existing tests.

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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

Reply via email to