[pkg-php-pear] Bug#744876: Bug#744876: Process isolation broken with 4.2.6-1

Prach Pongpanich prachpub at gmail.com
Thu Oct 2 17:41:18 UTC 2014


Hi Daniel,

On Thu, Oct 2, 2014 at 6:17 PM, Daniel Beyer <dabe at deb.ymc.ch> wrote:
> Hi Prach,
>
> while trying out phpunit4 (4.2.6-1 from experimental) with src:symfony
> (which currently is pending in NEW), I found out that it is not possible
> to run tests in separate process (some tests in Symfony are using the
> @runTestsInSeparateProcesses annotation).
> This also happens if phpunit is started with '--process-isolation'
> option.
>
> The problem is that d/p/0001-Remove-Composer-autoload.patch is removing
> the constant 'PHPUNIT_COMPOSER_INSTALL'. But this constant is needed to
> have a working autoloading in separate processes (and without a working
> autoloading phpunit fails with some 'Class XYZ not found' PHP Fatal
> error).
>
> I updated d/p/0001-Remove-Composer-autoload.patch and pushed the changes
> in a new branch fix-autoloading-in-separate-process [1]. This branch is
> based against current master (f3d45f4). The actual fix (a4ff834)[2] is
> rather trivial.

Thank you for the patch, I have merged it and rebuilt symfony agianst
phpunit-4.2.6-2 (not upload yet). But I got some tests error, you can
see in attached file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: symfony_2.3.20+dfsg-1~2.gbpd03297-with-phpunit-4.2.6-2.log.gz
Type: application/x-gzip
Size: 18163 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20141003/2a5ad27c/attachment-0001.bin>


More information about the pkg-php-pear mailing list