Last modified: 2014-11-13 18:06:48 UTC
Some of the extensions in attachment 16052 [details] (where I added all those having UnitTestsList) cause problems: vagrant@nemobis:/vagrant/mediawiki/tests/phpunit$ php5 phpunit.php [304050f6] [no req] Exception from line 182 of /srv/vagrant/mediawiki/includes/Hooks.php: Invalid callback in hooks for UnitTestsList Backtrace: #0 /srv/vagrant/mediawiki/includes/GlobalFunctions.php(4031): Hooks::run(string, array, NULL) #1 /srv/vagrant/mediawiki/tests/phpunit/suites/ExtensionsTestSuite.php(12): wfRunHooks(string, array) #2 /srv/vagrant/mediawiki/tests/phpunit/suites/ExtensionsTestSuite.php(22): ExtensionsTestSuite->__construct() #3 [internal function]: ExtensionsTestSuite::suite(string) #4 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(382): ReflectionMethod->invoke(NULL, string) #5 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Util/Configuration.php(912): PHPUnit_Framework_TestSuite->addTestFile(string) #6 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Util/Configuration.php(797): PHPUnit_Util_Configuration->getTestSuite(DOMElement, NULL) #7 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php(657): PHPUnit_Util_Configuration->getTestSuiteConfiguration(NULL) #8 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php(25): PHPUnit_TextUI_Command->handleArguments(array) #9 /srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php(138): MediaWikiPHPUnitCommand->handleArguments(array) #10 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php(42): PHPUnit_TextUI_Command->run(array, boolean) #11 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php(160): MediaWikiPHPUnitCommand::main() #12 {main} For now running just fine: vagrant@nemobis:/vagrant/mediawiki/tests/phpunit$ php5 phpunit.php includes
Can you rerun the tests? Because the error message contains now the function name, which is invalid. Maybe with that information it is possible to find the extension. Thanks.