Bug #17111 [Csd->Opn]: Tests should check environment, skip

From: Date: Sun, 06 Jun 2010 15:46:44 +0000
Subject: Bug #17111 [Csd->Opn]: Tests should check environment, skip
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-3886@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=17111&edit=1 ID: 17111 Updated by: daniel.oconnor@gmail.com Reported By: daniel dot oconnor at gmail dot com Summary: Tests should check environment, skip -Status: Closed +Status: Open Type: Bug Package: PEAR_Size Package Version: CVS PHP Version: 5.3.1 Assigned To: kguest Roadmap Versions: New Comment: -Status: Closed +Status: Open :( http://test.pear.php.net/unit-test-results/phpunit_results.txt Appears broken still? Previous Comments: ------------------------------------------------------------------------ [2010-03-11 01:10:04] kguest -Status: Assigned +Status: Closed This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. fixed in subversion... ------------------------------------------------------------------------ [2010-03-11 00:58:59] kguest -Assigned To: +Assigned To: kguest ------------------------------------------------------------------------ [2010-02-16 11:43:05] doconnor Description: ------------ http://test.pear.php.net/unit-test-results/phpunit_results.txt The php installation is /usr/local/bin/php or something silly on this test machine. Consider !(is_executable && file_exists) { markTestSkipped } Actual result: -------------- php -c ../php.ini -f /home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php PHPUnit 3.4.10 by Sebastian Bergmann. .SSSSSSSF Time: 0 seconds, Memory: 10.75Mb There was 1 failure: 1) PEAR_Size_Test_Bugs::testBug14474 Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -Channel "pear.example.com" does not exist - +sh: /usr/bin/php: No such file or directory /home/clockwerx/packages-all/PEAR_Size/tests/PEAR_Size_TestSuite_Bugs.php:148 /home/clockwerx/packages-all/PEAR_Size/tests/PEAR_Size_TestSuite_Bugs.php:206 /home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php:19 /home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php:34 FAILURES! Tests: 9, Assertions: 2, Failures: 1, Skipped: 7. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17111&edit=1

« previous php.pear.bugs (#3886) next »