Le 11/08/2014 16:32, Pavel Astakhov a écrit :
It is planned doing phpunit tests for all extensions in HHVM? I would like to have it for PhpTags * extensions.
Yes I eventually. For now I am focusing on having a job that would run the unit tests of all extensions deployed on Wikimedia using Zend PHP. Can then duplicate it to use HHVM.
From there, I gotta figure out a how to run tests using HHVM. We could
probably write a thin wrapper around both version and use an environment variable to select the appropriate flavour. Something like:
PHP_FLAVOR=hhvm jenkins/php somescript.php PHP_FLAVOR=zend jenkins/php somescript.php
That has yet to be written. If anyone is interested, propose such a script against integration/jenkins.git in /bin/ . We can then switch jobs to use that wrapper. That would be a good first step.