Great news all!
Some talks at Wikimania got me looking at ALL of the extensions on gerrit, and thus, some things happened!
We now have zuul / jenkins triggers and jobs for unit tests (non voting) on ALL extensions on gerrit (excluding empty repos) https://gerrit.wikimedia.org/r/#/c/152236/
And 272 of the extensions passed first time and thus now have voting jobs https://gerrit.wikimedia.org/r/#/c/152723/
Still a bit of work to be done making the other hundreds of extensions pass as they have a variety of issues but this is in my opinion a great step!
Thanks to Hashar for all of the merges!
Addshore
Le 09/08/2014 12:32, addshorewiki@gmail.com a écrit :
Some talks at Wikimania got me looking at ALL of the extensions on gerrit, and thus, some things happened!
We now have zuul / jenkins triggers and jobs for unit tests (non voting) on ALL extensions on gerrit (excluding empty repos) https://gerrit.wikimedia.org/r/#/c/152236/
And 272 of the extensions passed first time and thus now have voting jobs https://gerrit.wikimedia.org/r/#/c/152723/
Still a bit of work to be done making the other hundreds of extensions pass as they have a variety of issues but this is in my opinion a great step!
Thanks to Hashar for all of the merges!
Thank you for the massive effort Addshore. Looking at the test results, most of failures are:
- extensions lacking a default PHP entry point (ie Foo/Foo.php) which is assumed by the thin wrapper that load extensions
- SQLite not being supported. Usually that is just because AUTOINCREMENT is being used.
- Dependency, I found a few depending on Validator.
And of course, we have a ton of repositories which are empties. It would be rather nice to get rid of them.
For those willing to help, there are still 56 open bugs among those I filed last week to make phpunit happy. Don't jostle, there is enough for everyone! https://bugzilla.wikimedia.org/buglist.cgi?chfieldfrom=2014-07-26&chfieldto=2014-08-02&email1=federicoleva&emailreporter1=1&emailtype1=substring&product=MediaWiki%20extensions&query_format=advanced&resolution=---
Nemo
09.08.2014 16:32, addshorewiki@gmail.com пишет:
Great news all!
Some talks at Wikimania got me looking at ALL of the extensions on gerrit, and thus, some things happened!
We now have zuul / jenkins triggers and jobs for unit tests (non voting) on ALL extensions on gerrit (excluding empty repos) https://gerrit.wikimedia.org/r/#/c/152236/
And 272 of the extensions passed first time and thus now have voting jobs https://gerrit.wikimedia.org/r/#/c/152723/
Still a bit of work to be done making the other hundreds of extensions pass as they have a variety of issues but this is in my opinion a great step!
Thanks to Hashar for all of the merges!
Addshore _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
It is planned doing phpunit tests for all extensions in HHVM? I would like to have it for PhpTags * extensions.
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.
wikitech-l@lists.wikimedia.org