[pkg-php-pear] Build failure with phpunit 4 (Was: Bug#744876: Status of phpunit 4)

Prach Pongpanich prachpub at gmail.com
Thu Oct 2 07:45:57 UTC 2014


Hi,

On Thu, Oct 2, 2014 at 5:48 AM, David Prévot <david at tilapin.org> wrote:
> Hi,
>
> Le 01/10/2014 04:14, Prach Pongpanich a écrit :
>
>> Fails 15:
>>     http://linux.sut.ac.th/~prach/build-logs/01-oct-2014/fails.txt
>
> FYI, investigated three failures today:
> - phpseclib is a false positive (fails to build with php-codesniffer
>                                  from experimental)
> - phpunit-environment fixed and uploaded
> - php-crypt-blowfish needs more investigation
>
> Please note there is always an “easy fix”: drop running the testsuite at
> build time, but I’d rather not go that way (those tests are valuable).
> Still, if we end up with a pair of stuff we don’t manage to fix, maybe
> dropping some tests should be more interesting than shipping an outdated
> version of PHPUnit in Jessie. (I guess we may all agree on that, just
> stating it so it’s said, and if that view is not shared, people may be
> able to offer another one.)
>

Thanks! After I have analyzed that the half of those packages are need to use a
pear (run-tests) instead of phpunit:
   php-config, php-console-table, php-mail, php-xml-parser, php-log,
   php-net-smtp , php-mail-mime

By default, PHPUnit will install an error handler that converts the following
errors to exceptions:

 E_WARNING, E_NOTICE, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE,
 E_STRICT,E_RECOVERABLE_ERROR, E_DEPRECATED, E_USER_DEPRECATED

 https://phpunit.de/manual/4.2/en/phpunit-book.html#appendixes.configuration

> In the mean time, it may be nice to track the current status, would a
> wiki page be worth it (extra points if someone replies “yay, it’s there:
> <https://wiki.debian.org/…>” ;-).

 https://wiki.debian.org/Teams/DebianPHPGroup/PHPUnit-4.2


Regards
Prach



More information about the pkg-php-pear mailing list