Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 350347

Summary: www-client/chromium fails ICUStringConversionsTest
Product: Gentoo Linux Reporter: Paweł Hajdan, Jr. (RETIRED) <phajdan.jr>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/5c59171aa9592d00#
Whiteboard:
Package list:
Runtime testing required: ---

Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-02 10:27:39 UTC
[----------] 4 tests from ICUStringConversionsTest
[ RUN      ] ICUStringConversionsTest.ConvertCodepageUTF8
[       OK ] ICUStringConversionsTest.ConvertCodepageUTF8 (0 ms)
[ RUN      ] ICUStringConversionsTest.ConvertBetweenCodepageAndWide
base/i18n/icu_string_conversions_unittest.cc:245: Failure
Value of: success
  Actual: false
Expected: kConvertCodepageCases[i].success
Which is: true
base/i18n/icu_string_conversions_unittest.cc:246: Failure
Value of: wide
  Actual: L""
Expected: kConvertCodepageCases[i].wide
Which is: L"<E3><81><93><E3><82><93><E3><81><AB><E3><81><A1><E3><81><AF><E4><B8><80><E4><B8><82><EF><BD><A6>"
[  FAILED  ] ICUStringConversionsTest.ConvertBetweenCodepageAndWide (175 ms)
[ RUN      ] ICUStringConversionsTest.ConvertBetweenCodepageAndUTF16
base/i18n/icu_string_conversions_unittest.cc:312: Failure
Value of: success
  Actual: false
Expected: kConvertCodepageCases[i].success
Which is: true
base/i18n/icu_string_conversions_unittest.cc:313: Failure
Value of: utf16
  Actual: {}
Expected: utf16_expected
Which is: { 12371, 12435, 12395, 12385, 12399, 19968, 19970, 65382 }
[  FAILED  ] ICUStringConversionsTest.ConvertBetweenCodepageAndUTF16 (0 ms)
[ RUN      ] ICUStringConversionsTest.ConvertToUtf8AndNormalize
[       OK ] ICUStringConversionsTest.ConvertToUtf8AndNormalize (9 ms)
[----------] 4 tests from ICUStringConversionsTest (184 ms total)

[ebuild   R   ] www-client/chromium-10.0.612.1-r1  USE="cups gecko-mediaplayer test -gnome -gnome-keyring -system-sqlite -system-v8" 0 kB
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-02 11:55:24 UTC
Those tests pass with the bundled ICU library.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-06 15:31:53 UTC
I captured more detailed failure logs (10.0.628.0):

[ RUN      ] ICUStringConversionsTest.ConvertBetweenCodepageAndWide
base/i18n/icu_string_conversions_unittest.cc:255: Failure
Value of: success
  Actual: false
Expected: kConvertCodepageCases[i].success
Which is: true
Google Test trace:
base/i18n/icu_string_conversions_unittest.cc:248: Test[12]: <encoded: <A4><B3><A4><F3><A4><CB><A4><C1><A4><CF><B0><EC><8F><B0><A1><8E><A6>> <code
page: euc-jp>
base/i18n/icu_string_conversions_unittest.cc:256: Failure
Value of: wide
  Actual: L""
Expected: kConvertCodepageCases[i].wide
Which is: L"<E3><81><93><E3><82><93><E3><81><AB><E3><81><A1><E3><81><AF><E4><B8><80><E4><B8><82><EF><BD><A6>"
Google Test trace:
base/i18n/icu_string_conversions_unittest.cc:248: Test[12]: <encoded: <A4><B3><A4><F3><A4><CB><A4><C1><A4><CF><B0><EC><8F><B0><A1><8E><A6>> <code
page: euc-jp>
[  FAILED  ] ICUStringConversionsTest.ConvertBetweenCodepageAndWide (217 ms)

[ RUN      ] ICUStringConversionsTest.ConvertBetweenCodepageAndUTF16
base/i18n/icu_string_conversions_unittest.cc:327: Failure
Value of: success
  Actual: false
Expected: kConvertCodepageCases[i].success
Which is: true
Google Test trace:
base/i18n/icu_string_conversions_unittest.cc:315: Test[12]: <encoded: <A4><B3><A4><F3><A4><CB><A4><C1><A4><CF><B0><EC><8F><B0><A1><8E><A6>> <code
page: euc-jp>
base/i18n/icu_string_conversions_unittest.cc:328: Failure
Value of: utf16
  Actual: {}
Expected: utf16_expected
Which is: { 12371, 12435, 12395, 12385, 12399, 19968, 19970, 65382 }
Google Test trace:
base/i18n/icu_string_conversions_unittest.cc:315: Test[12]: <encoded: <A4><B3><A4><F3><A4><CB><A4><C1><A4><CF><B0><EC><8F><B0><A1><8E><A6>> <codepage: euc-jp>
[  FAILED  ] ICUStringConversionsTest.ConvertBetweenCodepageAndUTF16 (1 ms)

[ebuild   R   ] dev-libs/icu-4.4.2  USE="-debug -doc -examples -static-libs" 0 kB
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-09 15:53:33 UTC
I've decided to just exclude this test on Gentoo. The patch required doesn't seem to be critical, see http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/5c59171aa9592d00#