Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.4

Bug #17489 Tests don't pass
Submitted: 2010-06-13 15:30 UTC
From: fgimenez Assigned: yunosh
Status: Closed Package: Net_Sieve (version 1.2.2)
PHP Version: 5.2.6 OS: Debian 5.0 Lenny
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 20 + 50 = ?

 
 [2010-06-13 15:30 UTC] fgimenez (Federico Gimenez Nieto)
Description: ------------ Hi, After downloading the 1.2.1 tarball from [1], after unpacking and cd-ing to the Net_Sieve-1.2.1/tests directory when i try to run the tests with: # phpunit SieveTest.php i get: EEEEEEEEEE Time: 0 seconds There were 10 errors: 1) testConnect(SieveTest) Invalid argument supplied for foreach() /home/fgimenez//Net_Sieve-1.2.1/Sieve.php:230 /home/fgimenez//Net_Sieve-1.2.1/tests/SieveTest.php:65 repeated for each of the 10 tests (changing the first line with the name of the test) Am i missing something? Thanks [1] http://download.pear.php.net/package/Net_Sieve-1.2.1.tgz

Comments

 [2010-06-13 17:04 UTC] yunosh (Jan Schneider)
-Status: Open +Status: Closed -Assigned To: +Assigned To: yunosh
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/
 [2010-06-14 16:16 UTC] fgimenez (Federico Gimenez Nieto)
Hi Jan, thanks for your quick response. Now, when i try the tests with the 1.2.2 version downloaded from [1], after a while and a lot of passing text lines on the console (it seems that the program gets stucked in some kind of loop) i get: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15749121 bytes) in /usr/share/php/PHPUnit/Util/Type.php on line 163 I run the tests with the same commands as before: # cd Net_Sieve-1.2.2/tests && phpunit SieveTest.php Thanks [1] http://download.pear.php.net/package/Net_Sieve-1.2.2.tgz
 [2010-06-18 12:23 UTC] fgimenez (Federico Gimenez Nieto)
-Status: Closed +Status: Open -Package Version: 1.2.1 +Package Version: 1.2.2
Sorry, i forgot to reopen the bug Cheers
 [2010-06-28 20:27 UTC] yunosh (Jan Schneider)
-Status: Assigned +Status: Closed
Raise your memory limit.