[MediaWiki-l] All unit tests broken in Ubuntu 15.04

Daniel Barrett danb at cimpress.com
Tue Dec 8 15:03:30 UTC 2015


MediaWiki unit tests are broken in Ubuntu 15.04. Has anybody else encountered and worked around this problem?

$ php phpunit.php
PHP Fatal error:  Class 'SebastianBergmann\Version' not found in /usr/share/php/PHPUnit/Runner/Version.php on line 74
PHP Stack trace:
PHP   1. {main}() /home/wiki/wiki/wiki/tests/phpunit/phpunit.php:0
PHP   2. PHPUnit_Runner_Version::id() /home/wiki/wiki/wiki/tests/phpunit/phpunit.php:108

$ phpunit --version
PHPUnit 4.2.6 by Sebastian Bergmann.

This is with Mediawiki 1.26.0. Some web searches led me to these tickets from 2014 which are marked as Fixed, but  I don't see an explicit workaround in them:

https://phabricator.wikimedia.org/T66597 
https://phabricator.wikimedia.org/T60881

Thanks for any advice,
DanB




More information about the MediaWiki-l mailing list