php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62935 Failing intl tests
Submitted: 2012-08-26 14:07 UTC Modified: 2012-08-30 18:10 UTC
From: nikic@php.net Assigned: cataphract (profile)
Status: Closed Package: intl (PECL)
PHP Version: master-Git-2012-08-26 (Git) OS:
Private report: No CVE-ID: None
 [2012-08-26 14:07 UTC] nikic@php.net
Description:
------------
The following intl tests are failing on Travis:

IntlDateFormatter: several forms of the calendar arg [ext/intl/tests/dateformat_create_cal_arg.phpt]
IntlDateFormatter::formatObject(): IntlCalendar tests [ext/intl/tests/dateformat_formatObject_calendar.phpt]
IntlDateFormatter::formatObject(): DateTime tests [ext/intl/tests/dateformat_formatObject_datetime.phpt]
IntlDateFormatter: setCalendar()/getCalendar()/getCalendarObject() [ext/intl/tests/dateformat_get_set_calendar.phpt]
IntlDateFormatter: get/setTimeZone() [ext/intl/tests/dateformat_get_set_timezone.phpt]
MessageFormat accepts IntlCalendar args [ext/intl/tests/msgfmt_format_intlcalendar.phpt]
MessageFormatter::setPattern() invalidates arg types cache [ext/intl/tests/msgfmt_setPattern_cache.phpt]

The relevant qa.php.net diffs for them:

https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fintl%2Ftests%2Fdateformat_create_cal_arg.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fintl%2Ftests%2Fdateformat_formatObject_calendar.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fintl%2Ftests%2Fdateformat_formatObject_datetime.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fintl%2Ftests%2Fdateformat_get_set_calendar.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fintl%2Ftests%2Fdateformat_get_set_timezone.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fintl%2Ftests%2Fmsgfmt_format_intlcalendar.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fintl%2Ftests%2Fmsgfmt_setPattern_cache.phpt

(The QA reports seem to have slight encoding issues that aren't related to the test failures.)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-26 15:38 UTC] laruence@php.net
-Assigned To: +Assigned To: cataphract
 [2012-08-26 15:38 UTC] laruence@php.net
cataphrac said, some test are failed with icu 4.0 and before.

maybe we can skip these test according to the icu version? 

Cataphrac, what do you think?
 [2012-08-30 18:10 UTC] cataphract@php.net
At least the dateformat tests are now working on 4.8. I don't think effort on earlier versions is well spent. Closing.
 [2012-08-30 18:10 UTC] cataphract@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC