boostorg / locale

Boost.Locale
Boost Software License 1.0
31 stars 70 forks source link

Boost\libs\locale\test failed to build during "Testing codepoints above 0xFFFF", error occurred on MSVC #94

Closed rachelhe123 closed 2 years ago

rachelhe123 commented 2 years ago

Issue Description: Boost\libs\locale\test failed to build during "Testing codepoints above 0xFFFF", error occurred on MSVC . Could you please take a look? The master branch commit we used is a1552ab.

Build Steps:

  1. git clone -c core.autocrlf=true --recursive ​ https://github.com/boostorg/boost.git boost
  2. open a VS 2019 x86 command prompt and browse to boost
  3. .\bootstrap
  4. .\b2 headers variant=release --build-dir=..\out\x86rel address-model=32
  5. .\b2 variant=release --build-dir=..\out\x86rel address-model=32
  6. .\b2 -j16 variant=release --build-dir=..\out\x86rel libs\locale\test

Error Info: testing.capture-output ..\out\x86rel\boost\bin.v2\libs\locale\test\test_std_collate.test\msvc-14.2\release\threading-multi\test_std_collate.run 1 file(s) copied. testing.capture-output ..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.run ====== BEGIN OUTPUT ======

Passed 366 tests Failed 6 tests 98.4% of tests completed sucsessefully

EXIT STATUS: 1 ====== END OUTPUT ======

set Path=F:\gitP\boostorg\out\x86rel\boost\bin.v2\libs\locale\build\msvc-14.2\release\threading-multi;F:\gitP\boostorg\out\x86rel\boost\bin.v2\libs\system\build\msvc-14.2\release\threading-multi;%Path%

set status=0
if %status% NEQ 0 (
    echo Skipping test execution due to testing.execute=off
    exit 0
)
 "..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.exe"   > "..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.output" 2>&1 
set status=%ERRORLEVEL%
echo. >> "..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.output"
echo EXIT STATUS: %status% >> "..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.output"
if %status% EQU 0 (
    copy "..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.output" "..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.run"
)
set verbose=0
if %status% NEQ 0 (
    set verbose=1
)
if %verbose% EQU 1 (
    echo ====== BEGIN OUTPUT ======
    type "..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.output"
    echo ====== END OUTPUT ======
)
exit %status%

...failed testing.capture-output ..\out\x86rel\boost\bin.v2\libs\locale\test\test_codepage.test\msvc-14.2\release\threading-multi\test_codepage.run...

See more details in log: test.log.txt

Flamefire commented 2 years ago

Yes this is currently a known issue, the Boost.Locale testsuite is known to fail on various platforms due to changes to the toolchains not accounted for in the tests. In particular this is a duplicate of #71. Will be working on this soon, but no ETA yet.

Flamefire commented 2 years ago

Fixed by #113