Le 26/10/12 11:29, Niklas Laxström a écrit :
I recently updated packages via PEAR. I don't
remember what exactly,
but right now I have
PHPUnit-3.6.12
PHP_Invoker-1.1.1
When I try to run tests for Translate I get:
1) SpecialPagesTest::testSpecialPage with data set #3 ('LanguageStats')
Fatal error: Call to undefined function php_timer_autoload() in
/usr/share/php/PHPUnit/Util/GlobalState.php on line 381
make: *** [default] Error 255
Could you paste all your versions obtained with:
pear list -c phpunit
php_timer_autoload() was defined in PHP_Timer 1.0.3 apparently and got
removed in 1.0.4. It seems PHPUnit 3.6 still rely on it so either you
have to downgrade PHP_Timer to 1.0.3 or possibly 1.0.2 or upgrade
PHPUnit to 3.7.x (recommended).
cheers
--
Antoine "hashar" Musso