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

Bug #11674 test failures on 64-bit Linux
Submitted: 2007-07-23 12:22 UTC
From: mcorne Assigned: mcorne
Status: Closed Package: I18N_UnicodeNormalizer (version 1.0.0RC3)
PHP Version: 5.2.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-07-23 12:22 UTC] mcorne (Michel Corne)
Description: ------------ Test failures on 64-bits Linux. Initially reported 22 June 2007 before 1.0.0RC1 by aharvey. I would appreciate a few testers install the latest release, then: * go to tests/I18N_UnicodeNormalizer/tests * run: php normtest.php * email me reports/debug.txt. Thx. Expected result: ---------------- No failure. Actual result: -------------- PHPUnit 3.0.6 by Sebastian Bergmann. ............FFFFFFFF.... Time: 00:18 There were 8 failures: 1) testBaseNFD(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/BaseTests.php line #39 in data/NormalizationTest-*.txt test: NFD(c1) == c3 c1 = \u0044\u0307\u0323 NFD(c1) = \u0044\u0323 c3 = \u0044\u0323\u0307 /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:265 2) testBaseNFKD(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/BaseTests.php line #39 in data/NormalizationTest-*.txt test: NFKD(c1) == c5 c1 = \u0044\u0307\u0323 NFKD(c1) = \u0044\u0323 c5 = \u0044\u0323\u0307 /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:273 3) testBaseNFC(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/BaseTests.php line #35 in data/NormalizationTest-*.txt test: NFC(c3) == c2 c3 = \u0044\u0307 NFC(c3) = \u0307 c2 = \u1E0A /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:281 4) testBaseNFKC(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/BaseTests.php line #35 in data/NormalizationTest-*.txt test: NFKC(c3) == c4 c3 = \u0044\u0307 NFKC(c3) = \u0307 c4 = \u1E0A /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:289 5) testHangulNFD(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/HangulTests.php line #1777 in data/NormalizationTest-*.txt test: NFD(c4) == c5 c4 = \u0028\uAC00\u0029 NFD(c4) = \u1100\u1161\u0029 c5 = \u0028\u1100\u1161\u0029 /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:297 6) testHangulNFKD(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/HangulTests.php line #1777 in data/NormalizationTest-*.txt test: NFKD(c4) == c5 c4 = \u0028\uAC00\u0029 NFKD(c4) = \u1100\u1161\u0029 c5 = \u0028\u1100\u1161\u0029 /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:305 7) testHangulNFC(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/HangulTests.php line #1777 in data/NormalizationTest-*.txt test: NFC(c5) == c4 c5 = \u0028\u1100\u1161\u0029 NFC(c5) = \u0028\u1161\u0029 c4 = \u0028\uAC00\u0029 /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:313 8) testHangulNFKC(tests_UnicodeNormalizerTest) file: I18N/UnicodeNormalizer/compiled/UTF-8/HangulTests.php line #1777 in data/NormalizationTest-*.txt test: NFKC(c5) == c4 c5 = \u0028\u1100\u1161\u0029 NFKC(c5) = \u0028\u1161\u0029 c4 = \u0028\uAC00\u0029 /tmp/Release_0.1/tests/UnicodeNormalizerTest.php:321 FAILURES! Tests: 24, Failures: 8.

Comments

 [2007-07-26 19:10 UTC] mcorne (Michel Corne)
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/I18N_UnicodeNormalizer Fixed in 1.0.0RC4 Implemented workaround in main class due PHP Bug 42101: mb_substr error if length = PHP_INT_MAX