[pkg-php-pear] Bug#684281: Bug#684281: phpunit: Exits with return code 255 without displaying any error message when calling unknown method

Cyril Bouthors cyb at debian.org
Wed Sep 12 20:47:15 UTC 2012


close 684281
thanks

On  9 Aug 2012, acme at eviled.org wrote:

> I'm trying to reproduce this bug on a sid installation and this is what i've
> got:

Luis,

I tried to reproduce the issue on a fresh sid install and you a absolutely
right, phpunit delivers the correct message:

cyb at sid:~$ phpunit /tmp/1.php
PHPUnit 3.6.10 by Sebastian Bergmann.

PHP Fatal error:  Call to a member function bar() on a non-object in /tmp/1.php on line 5
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:130
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:192
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:325
PHP   6. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
PHP   7. PHPUnit_Framework_TestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:772
PHP   8. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:751
PHP   9. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHPUnit/Framework/TestResult.php:649
PHP  10. PHPUnit_Framework_TestCase->runTest() /usr/share/php/PHPUnit/Framework/TestCase.php:804
PHP  11. ReflectionMethod->invokeArgs() /usr/share/php/PHPUnit/Framework/TestCase.php:942
PHP  12. FooTest->testFoo() /usr/share/php/PHPUnit/Framework/TestCase.php:942

I guess this was an issue on my side.

Thanks for support.

We can close the bug now.

PS: I'll try to close it by myself but I haven't done that for many years now, I
can't promess it would work.
-- 
 ,''`.
: :' :      Cyril Bouthors
`. `'         Debian.org
  `-



More information about the pkg-php-pear mailing list