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

Bug #14916 Unit tests don't skip properly
Submitted: 2008-10-29 09:16 UTC
From: doconnor Assigned: bate
Status: Closed Package: HTTP_Session2 (version CVS)
PHP Version: 5.2.4 OS:
Roadmaps: 0.7.3    
Subscription  


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 : 42 - 1 = ?

 
 [2008-10-29 09:16 UTC] doconnor (Daniel O'Connor)
Description: ------------ PEAR's test runner needs to see the word 'skip' at the start of your error message to mark a test skipped. IE: --SKIPIF-- <?php include_once 'MDB2.php'; if (!class_exists('MDB2')) { die('Skip Please install MDB2 (and its SQLite driver) to run this test.'); } if (!extension_loaded('sqlite')) { die('Skip Please install the sqlite extension to run this test.'): } ?> Test script: --------------- pear run-tests Make sure that sqlite isn't installed Expected result: ---------------- Tests skip Actual result: -------------- Tests fail

Comments

 [2008-11-03 09:49 UTC] bate (Marco Kaiser)
This bug has been fixed in CVS. 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.