Goal add an option to have a mediawiki/core patch to run phpunit with --testsuite extensions.
Fork from T197469
As noted on b493d4e558368ab6fe9995051c6d9e2992df8bf2 :
The legacy mediawiki-extensions jobs shell out to mw-run-phpunit-allexts.sh which runs the extensions suite regardless of the trigger repo (core or an extension):
phpunit.php --testsuite extensions
Quibble runs a different testsuite depending on ZUUL_PROJECT:
For core or vendor:
phpunit.php --exclude-group Database phpunit.php --group Database
For extensions or skins:
phpunit.php --testsuite [extensions|skins]
Repo | PHPUnit |
---|---|
extension | --testsuite extensions |
skin | --testsuite skins |
core | databaseless then database |
The wmf-quibble jobs have extensions cloned in but can be triggered by mediawiki/core patchset. Thus Quibble would run ALL the tests and not just the extensions suite. And a wide range of tests are failing
.Quibble should have a way to run solely the extensions/skins suite when triggered by mediawiki/core. Possibly via a hack to the wmf-quibble jobs.