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

Request #17830 tests fails because of date.timezone warnings
Submitted: 2010-08-29 11:55 UTC
From: remicollet Assigned: jon
Status: Closed Package: Log (version 1.12.2)
PHP Version: 5.3.3 OS: GNU/Linux (Fedora 13)
Roadmaps: (Not assigned)    
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 : 18 + 6 = ?

 
 [2010-08-29 11:55 UTC] remicollet (Remi Collet)
Description: ------------ During RPM build of pear extension, date.timezone is not set, so the test suite fails. Could you please consider the attached patch will allow to run the test suite during RPM build. Note : the pear run-tests --ini option could only be used once, and is already used to override include_path. Test script: --------------- LANG=C pear run-tests tests Expected result: ---------------- 20 PASSED TESTS 1 SKIPPED TESTS Actual result: -------------- 5 PASSED TESTS 1 SKIPPED TESTS 15 FAILED TESTS: /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/backtrace.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/composite.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/console.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/display.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/error_log.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/extract-zend2.2.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/file.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/firebug.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/format.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/masks.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/priority.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/sqlite.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/syslog.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/win-ob.phpt /home/extras/BUILD/php-pear-Log-1.12.2/Log-1.12.2/tests.orig/win.phpt

Comments

 [2010-08-29 11:55 UTC] remicollet (Remi Collet)
 [2010-08-30 00:46 UTC] jon (Jon Parise)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: jon
 [2010-08-30 01:49 UTC] jon (Jon Parise)
-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.