[php-maint] Fixes for the PHP unit tests

Ondřej Surý ondrej at debian.org
Mon May 14 13:32:15 UTC 2012

On Mon, May 14, 2012 at 3:26 PM, Thomas Goirand <zigo at debian.org> wrote:
>>> I'm currently trying to add the tests in the build, but one thing I'm
>>> not sure how to manage is that PHP might then build-depends on itself.
>>> Indeed, if we need phpunit to build, then phpunit depends on php. That
>>> might be very annoying for porters. Any thoughts on this?
>> Could you maybe elaborate more on what phpunit is and why it would be
>> needed to build php itself?
> phpunit is a unit test framework. You give it some .phpt files, and then
> it tests, and compare what the script should output, and what it
> actually writes on stdout.

But you wrote about circular build-dependency php5->phpunit->php5->...

And those tests you mention are already executed in php5 build and doesn't
need phpunit (package) to be run.

Ondřej Surý <ondrej at sury.org>

More information about the pkg-php-maint mailing list