Thread: [Cppcms-users] Errors when executing test_locale_codepage.exe and
Brought to you by:
artyom-beilis
|
From: Vizcayno <viz...@gm...> - 2013-05-15 22:57:40
|
I installed cppcms with last versions of PCRE, ZLIB and OpenSSL under
Windows 7 and VC2012.
During the "nmake test" I have got 2 lines with **not passed** status test:
69:test_locale_codepage
70:test_locale_message
After some investigation, I executed the next 2 programs
(test_locale_codepage.exe and test_locale_message.exe) but I could'nt find
the cause of the errors. What do you think is happening? What possible
solutions or workarounds do you think I can apply? thanks!!:
=====================================================================
:MODE CON CODEPAGE SELECT=1255
Status for device CON:
----------------------
Lines: 300
Columns: 80
Keyboard rate: 31
Keyboard delay: 1
Code page: 1255
=====================================================================
:C:/apps/instApps/cppcms/build/booster/test_locale_codepage.exe
- Testing correct invalid bytes skipping
-- ISO-8859-8
-- cp932
Testing for backend std
Testing wide I/O
wchar_t
UTF-8
Testing codepoints above 0xFFFF
Single U+2008A
Single U+2008A withing text
U+2008A x 1000
ISO8859-8
ISO8859-1
Shift-JIS
Error in line:67 read_file<Char>(f1) == cmp
Testing charset to/from UTF conversion functions
char
wchar_t
Testing utf_to_utf
char<-char
char<-wchar
wchar<-char
wchar<-wchar
Testing for backend winapi
Testing wide I/O
wchar_t
UTF-8
Testing codepoints above 0xFFFF
Single U+2008A
Single U+2008A withing text
U+2008A x 1000
Testing charset to/from UTF conversion functions
char
wchar_t
Testing utf_to_utf
char<-char
char<-wchar
wchar<-char
wchar<-wchar
Passed 373 tests
Failed 1 tests
99.7% of tests completed sucsessefully
=====================================================================
:C:/apps/instApps/cppcms/build/booster/test_locale_message.exe
Testing for backend --------- std
Testing he_IL.UTF-8
single forms
Error in line:215 bl::translate(original).str(l)==expected
Error in line:217 bl::translate(original_c_str).str(l)==expected
Error in line:221 tmp==expected
Error in line:223 tmp==expected
Error in line:229 ss.str()==expected
Error in line:231 bl::translate(original).str(l,domain)==expected
Error in line:234 bl::translate(original).str(domain)==expected
Error in line:240 ss.str()==expected
Error in line:246 ss.str()==expected
Error in line:215 bl::translate(original).str(l)==expected
Error in line:217 bl::translate(original_c_str).str(l)==expected
Error in line:221 tmp==expected
Error in line:223 tmp==expected
Error in line:229 ss.str()==expected
Error in line:231 bl::translate(original).str(l,domain)==expected
Error in line:234 bl::translate(original).str(domain)==expected
Error in line:240 ss.str()==expected
Error in line:246 ss.str()==expected
Error in line:231 bl::translate(original).str(l,domain)==expected
Error in line:234 bl::translate(original).str(domain)==expected
Error in line:240 ss.str()==expected
Error in line:246 ss.str()==expected
Failed Error limits reached, stopping unit test
|
|
From: Artyom B. <art...@ya...> - 2013-05-16 13:42:31
|
Are you sure you are using latest VC2012 - because I recall such a problem with Boost.Locale with beta versions of VC and it was a bug that was fixed by the VC team. Because when I look on this: http://www.boost.org/development/tests/trunk/developer/locale.html (last column on right) only the test_codepage fails/ I see that test_locale_message passes (the codepage is not a problem it is rather a question of treating the standard - however I hadn't decided if it is VC bug or Boost.Locales bug)/ Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Vizcayno <viz...@gm...> >To: cpp...@li... >Sent: Thursday, May 16, 2013 1:57 AM >Subject: [Cppcms-users] Errors when executing test_locale_codepage.exe and > > >I installed cppcms with last versions of PCRE, ZLIB and OpenSSL under >Windows 7 and VC2012. > > > >During the "nmake test" I have got 2 lines with **not passed** status test: > >69:test_locale_codepage > >70:test_locale_message > > > >After some investigation, I executed the next 2 programs >(test_locale_codepage.exe and test_locale_message.exe) but I could'nt find >the cause of the errors. What do you think is happening? What possible >solutions or workarounds do you think I can apply? thanks!!: > > > >===================================================================== > >:MODE CON CODEPAGE SELECT=1255 > > > >Status for device CON: > >---------------------- > > Lines: 300 > > Columns: 80 > > Keyboard rate: 31 > > Keyboard delay: 1 > > Code page: 1255 > > > >===================================================================== > >:C:/apps/instApps/cppcms/build/booster/test_locale_codepage.exe > >- Testing correct invalid bytes skipping > >-- ISO-8859-8 > >-- cp932 > >Testing for backend std > >Testing wide I/O > > wchar_t > > UTF-8 > > Testing codepoints above 0xFFFF > > Single U+2008A > > Single U+2008A withing text > > U+2008A x 1000 > > ISO8859-8 > > ISO8859-1 > > Shift-JIS > >Error in line:67 read_file<Char>(f1) == cmp > >Testing charset to/from UTF conversion functions > > char > > wchar_t > >Testing utf_to_utf > > char<-char > > char<-wchar > > wchar<-char > > wchar<-wchar > >Testing for backend winapi > >Testing wide I/O > > wchar_t > > UTF-8 > > Testing codepoints above 0xFFFF > > Single U+2008A > > Single U+2008A withing text > > U+2008A x 1000 > >Testing charset to/from UTF conversion functions > > char > > wchar_t > >Testing utf_to_utf > > char<-char > > char<-wchar > > wchar<-char > > wchar<-wchar > > > >Passed 373 tests > >Failed 1 tests > > 99.7% of tests completed sucsessefully > > > > > >===================================================================== > >:C:/apps/instApps/cppcms/build/booster/test_locale_message.exe > >Testing for backend --------- std > > Testing he_IL.UTF-8 > > single forms > >Error in line:215 bl::translate(original).str(l)==expected > >Error in line:217 bl::translate(original_c_str).str(l)==expected > >Error in line:221 tmp==expected > >Error in line:223 tmp==expected > >Error in line:229 ss.str()==expected > >Error in line:231 bl::translate(original).str(l,domain)==expected > >Error in line:234 bl::translate(original).str(domain)==expected > >Error in line:240 ss.str()==expected > >Error in line:246 ss.str()==expected > >Error in line:215 bl::translate(original).str(l)==expected > >Error in line:217 bl::translate(original_c_str).str(l)==expected > >Error in line:221 tmp==expected > >Error in line:223 tmp==expected > >Error in line:229 ss.str()==expected > >Error in line:231 bl::translate(original).str(l,domain)==expected > >Error in line:234 bl::translate(original).str(domain)==expected > >Error in line:240 ss.str()==expected > >Error in line:246 ss.str()==expected > >Error in line:231 bl::translate(original).str(l,domain)==expected > >Error in line:234 bl::translate(original).str(domain)==expected > >Error in line:240 ss.str()==expected > >Error in line:246 ss.str()==expected > >Failed Error limits reached, stopping unit test > > >------------------------------------------------------------------------------ >AlienVault Unified Security Management (USM) platform delivers complete >security visibility with the essential security capabilities. Easily and >efficiently configure, manage, and operate all of your security controls >from a single console and one unified framework. Download a free trial. >http://p.sf.net/sfu/alienvault_d2d >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Vizcayno <viz...@gm...> - 2013-05-19 00:03:10
|
Artyom Beilis <artyomtnk@...> writes: > > > Are you sure you are using latest VC2012 - because I recall such a problem with Boost.Locale with beta versions of VC > and it was a bug that was fixed by the VC team. > I have last update of VC2012 professional: -- The C compiler identification is MSVC 17.0.60315.1 -- The CXX compiler identification is MSVC 17.0.60315.1 > Because when I look on this: http://www.boost.org/development/tests/trunk/developer/locale.html (last column on right) > only the test_codepage fails/ > > I see that test_locale_message passes (the codepage is not a problem it is rather a question of treating the standard - however I hadn't decided if it is VC bug or Boost.Locales bug)/ Thanks for your indications. According to this I think the test result seems to be acceptable. The locale codepage error refers to japan codepage, the remaining tests are ok. My best regards. > > > Artyom Beilis--------------CppCMS - C++ Web Framework: http://cppcms.com/CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: Vizcayno <vizcaynot- Re5...@pu...>To: cppcms-users- 5NW...@pu... Sent: Thursday, May 16, 2013 1:57 AMSubject: [Cppcms-users] Errors when executing test_locale_codepage.exe and > I installed cppcms with last versions of PCRE, ZLIB and OpenSSL under Windows 7 and VC2012.During the "nmake test" I have got 2 lines with **not passed** status test:69:test_locale_codepage70:test_locale_messageAfter > some investigation, I executed the next 2 programs (test_locale_codepage.exe and test_locale_message.exe) but I could'nt find the cause of the errors. What do you think is happening? What possible solutions or workarounds do you think I can apply? thanks!!:=================================================================== ==:MODE CON CODEPAGE SELECT=1255Status for device CON:---------------------- Lines: 300 Columns: 80 Keyboard rate: 31 Keyboard delay: 1 Code page: 1255=====================================================================:C: /apps/instApps/cppcms/build/booster/test_locale_codepage.exe- Testing correct invalid bytes skipping-- > ISO-8859-8-- cp932Testing for backend stdTesting wide I/O wchar_t UTF-8 Testing codepoints above 0xFFFF Single U+2008A Single U+2008A withing text U+2008A x 1000 ISO8859-8 ISO8859-1 Shift- JISError in line:67 read_file<Char>(f1) == cmpTesting charset to/from UTF conversion functions char wchar_tTesting utf_to_utf char<-char char<- wchar wchar<-char wchar<-wcharTesting for backend winapiTesting wide I/O wchar_t UTF-8 Testing codepoints above 0xFFFF Single U+2008A Single U+2008A > withing text U+2008A x 1000Testing charset to/from UTF conversion functions char wchar_tTesting utf_to_utf char<-char char<-wchar wchar<- char wchar<-wcharPassed 373 testsFailed 1 tests 99.7% of tests completed sucsessefully=============================================================== ======:C:/apps/instApps/cppcms/build/booster/test_locale_message.exeTesting for backend --------- std Testing he_IL.UTF-8 single formsError in line:215 bl::translate(original).str(l)==expectedError in line:217 bl::translate(original_c_str).str(l)==expectedError in line:221 tmp==expectedError in line:223 tmp==expectedError in line:229 ss.str() ==expectedError in line:231 > bl::translate(original).str(l,domain)==expectedError in line:234 bl::translate(original).str(domain)==expectedError in line:240 ss.str() ==expectedError in line:246 ss.str()==expectedError in line:215 bl::translate(original).str(l)==expectedError in line:217 bl::translate (original_c_str).str(l)==expectedError in line:221 tmp==expectedError in line:223 tmp==expectedError in line:229 ss.str()==expectedError in line:231 bl::translate(original).str(l,domain)==expectedError in line:234 bl::translate(original).str(domain)==expectedError in line:240 ss.str() ==expectedError in line:246 ss.str()==expectedError in line:231 bl::translate(original).str(l,domain)==expectedError in line:234 bl::translate(original).str(domain)==expectedError in line:240 ss.str() ==expectedError in line:246 ss.str()==expectedFailed Error limits reached, > stopping unit test------------------------------------------------------- -----------------------AlienVault Unified Security Management (USM) platform delivers completesecurity visibility with the essential security capabilities. Easily andefficiently configure, manage, and operate all of your security controlsfrom a single console and one unified framework. Download a free trial.http://p.sf.net/sfu/alienvault_d2d____________________________________ ___________Cppcms-users mailing listCppcms-users- 5NW...@pu...://lists.sourceforge.n et/lists/listinfo/cppcms-users > > > > -------------------------------------------------------------------------- ---- > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > > -------------------------------------------------------------------------- ---- > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d |
|
From: Artyom B. <art...@ya...> - 2013-05-19 13:56:57
|
I probably written wrong. The text_locale_codepage is not a problem The test_locale_messages should not fail this way. It looks odd. Especially that Boost.Locale works with MSVC 2012 (Booster.Locale is exact copy of Boost.Locale to different namespace) Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Vizcayno <viz...@gm...> >To: cpp...@li... >Sent: Sunday, May 19, 2013 3:02 AM >Subject: Re: [Cppcms-users] Errors when executing test_locale_codepage.exe and > > >Artyom Beilis <artyomtnk@...> writes: > > > >> > >> > >> Are you sure you are using latest VC2012 - because I recall such a >problem with Boost.Locale with beta versions of VC > >> and it was a bug that was fixed by the VC team. > >> > > > >I have last update of VC2012 professional: > >-- The C compiler identification is MSVC 17.0.60315.1 > >-- The CXX compiler identification is MSVC 17.0.60315.1 > > > > > >> Because when I look on >this: http://www.boost.org/development/tests/trunk/developer/locale.html >(last column on right) > >> only the test_codepage fails/ > >> > >> I see that test_locale_message passes (the codepage is not a problem it >is rather a question of treating the standard - however I hadn't decided if >it is VC bug or Boost.Locales bug)/ > > > >Thanks for your indications. According to this I think the test result >seems to be acceptable. The locale codepage error refers to japan codepage, >the remaining tests are ok. > >My best regards. > > > > > > > >> > >> > >> Artyom Beilis--------------CppCMS - C++ Web Framework: >http://cppcms.com/CppDB - C++ SQL Connectivity: >http://cppcms.com/sql/cppdb/ From: Vizcayno <vizcaynot- >Re5...@pu...>To: cppcms-users- >5NW...@pu... Sent: Thursday, May 16, >2013 1:57 AMSubject: [Cppcms-users] Errors when executing >test_locale_codepage.exe and > >> I installed cppcms with last versions of PCRE, ZLIB and OpenSSL under >Windows 7 and VC2012.During the "nmake test" I have got 2 lines with **not >passed** status test:69:test_locale_codepage70:test_locale_messageAfter > >> some investigation, I executed the next 2 programs >(test_locale_codepage.exe and test_locale_message.exe) but I could'nt find >the cause of the errors. What do you think is happening? What possible >solutions or workarounds do you think I can apply? >thanks!!:=================================================================== >==:MODE CON CODEPAGE SELECT=1255Status for device CON:---------------------- > Lines: 300 Columns: 80 Keyboard rate: 31 >Keyboard delay: 1 Code page: >1255=====================================================================:C: >/apps/instApps/cppcms/build/booster/test_locale_codepage.exe- Testing >correct invalid bytes skipping-- > >> ISO-8859-8-- cp932Testing for backend stdTesting wide I/O wchar_t >UTF-8 Testing codepoints above 0xFFFF Single U+2008A Single >U+2008A withing text U+2008A x 1000 ISO8859-8 ISO8859-1 Shift- >JISError in line:67 read_file<Char>(f1) == cmpTesting charset to/from UTF >conversion functions char wchar_tTesting utf_to_utf char<-char char<- >wchar wchar<-char wchar<-wcharTesting for backend winapiTesting wide I/O >wchar_t UTF-8 Testing codepoints above 0xFFFF Single >U+2008A Single U+2008A > >> withing text U+2008A x 1000Testing charset to/from UTF conversion >functions char wchar_tTesting utf_to_utf char<-char char<-wchar wchar<- >char wchar<-wcharPassed 373 testsFailed 1 tests 99.7% of tests completed >sucsessefully=============================================================== >======:C:/apps/instApps/cppcms/build/booster/test_locale_message.exeTesting >for backend --------- std Testing he_IL.UTF-8 single formsError in >line:215 bl::translate(original).str(l)==expectedError in line:217 >bl::translate(original_c_str).str(l)==expectedError in line:221 >tmp==expectedError in line:223 tmp==expectedError in line:229 ss.str() >==expectedError in line:231 > >> bl::translate(original).str(l,domain)==expectedError in line:234 >bl::translate(original).str(domain)==expectedError in line:240 ss.str() >==expectedError in line:246 ss.str()==expectedError in line:215 >bl::translate(original).str(l)==expectedError in line:217 bl::translate >(original_c_str).str(l)==expectedError in line:221 tmp==expectedError in >line:223 tmp==expectedError in line:229 ss.str()==expectedError in line:231 >bl::translate(original).str(l,domain)==expectedError in line:234 >bl::translate(original).str(domain)==expectedError in line:240 ss.str() >==expectedError in line:246 ss.str()==expectedError in line:231 >bl::translate(original).str(l,domain)==expectedError in line:234 >bl::translate(original).str(domain)==expectedError in line:240 ss.str() >==expectedError in line:246 ss.str()==expectedFailed Error limits reached, > >> stopping unit test------------------------------------------------------- >-----------------------AlienVault Unified Security Management (USM) >platform delivers completesecurity visibility with the essential security >capabilities. Easily andefficiently configure, manage, and operate all of >your security controlsfrom a single console and one unified framework. >Download a free >trial.http://p.sf.net/sfu/alienvault_d2d____________________________________ >___________Cppcms-users mailing listCppcms-users- >5NW...@pu...://lists.sourceforge.n >et/lists/listinfo/cppcms-users > >> > >> > >> > >> -------------------------------------------------------------------------- >---- > >> AlienVault Unified Security Management (USM) platform delivers complete > >> security visibility with the essential security capabilities. Easily and > >> efficiently configure, manage, and operate all of your security controls > >> from a single console and one unified framework. Download a free trial. > >> http://p.sf.net/sfu/alienvault_d2d > >> > >> -------------------------------------------------------------------------- >---- > >> AlienVault Unified Security Management (USM) platform delivers complete > >> security visibility with the essential security capabilities. Easily and > >> efficiently configure, manage, and operate all of your security controls > >> from a single console and one unified framework. Download a free trial. > >> http://p.sf.net/sfu/alienvault_d2d > > > > > > > > >------------------------------------------------------------------------------ >AlienVault Unified Security Management (USM) platform delivers complete >security visibility with the essential security capabilities. Easily and >efficiently configure, manage, and operate all of your security controls >from a single console and one unified framework. Download a free trial. >http://p.sf.net/sfu/alienvault_d2d >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |