[pkg-php-pear] Bug#744876: Bug#744876: Process isolation broken with 4.2.6-1
prachpub at gmail.com
Thu Oct 2 17:41:18 UTC 2014
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'
> 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
> I updated d/p/0001-Remove-Composer-autoload.patch and pushed the changes
> in a new branch fix-autoloading-in-separate-process . This branch is
> based against current master (f3d45f4). The actual fix (a4ff834) 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...
Size: 18163 bytes
Desc: not available
More information about the pkg-php-pear