On my 3 Ubuntu 9.10 machines, this test failst:
Test #57: test_locale_formatting ...........***Failed
LANG=en_US.UTF-8
U_ICU_VERSION "4.0.1"
g++ --version
g++ (Ubuntu 4.4.1-4ubuntu9) 4.4.1
cmake --help
cmake version 2.8.0
57/66 Testing: test_locale_formatting
57/66 Test: test_locale_formatting
Command: "cppcms/build/booster/test_locale_formatting"
Directory: cppcms/build/booster
"test_locale_formatting" start time: Oct 28 20:43 CST
Output:
Testing char, UTF-8
Error in line:166 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:298 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:298 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:298 ((booster::locale::basic_format<chartype>(fmt) % 1).str(loc))==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:299 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:299 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:299 ((booster::locale::basic_format<chartype>(fmt) % 1).str(loc))==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Testing char, ISO8859-1
Testing wchar_t
Error in line:166 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:298 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:298 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:298 ((booster::locale::basic_format<chartype>(fmt) % 1).str(loc))==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:299 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:299 (ss.str())==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))
Error in line:299 ((booster::locale::basic_format<chartype>(fmt) % 1).str(loc))==(to_correct_string<chartype>("1\xcb\xa2\xe1\xb5\x97",loc))</chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype></chartype>
Passed 867 tests
Failed 14 tests
98.4% of tests completed sucsessefully
<end of="" output="">
Test time = 0.29 sec</end>
Test Failed.
"test_locale_formatting" end time: Oct 28 20:43 CST
"test_locale_formatting" time elapsed: 00:00:00
Anonymous
Hello, I think I fixed this bug in rev 1497 - however I don't have ICU 4.0 to confirm this. Can you please take an update and tell me if it is OK so I can close this bug.
It should be fixed in changeset 1496 of boost_locale and 1497 of CppCMS.
Yes, the tests in both Ubuntu versions all pass. Thanks.