CppunitTest_stoc_uriproc failed on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Windows machine, CppunitTest_stoc_uriproc keeps failed with

> [build CUT] stoc_uriproc
> [build CHK] store
> [build CUT] svgio
> [build CUT] svgio_read
> [build CUT] svgio_tools
> [_RUN_____] `anonymous namespace'::Test::testParse
> `anonymous namespace'::Test::testParse finished in: 20ms
> [_RUN_____] `anonymous namespace'::Test::testMakeAbsolute
> `anonymous namespace'::Test::testMakeAbsolute finished in: 51ms
> [_RUN_____] `anonymous namespace'::Test::testMakeRelative
> `anonymous namespace'::Test::testMakeRelative finished in: 19ms
> [_RUN_____] `anonymous namespace'::Test::testVndSunStarExpand
> `anonymous namespace'::Test::testVndSunStarExpand finished in: 4ms
> [_RUN_____] `anonymous namespace'::Test::testVndSunStarScript
> `anonymous namespace'::Test::testVndSunStarScript finished in: 19ms
> [_RUN_____] `anonymous namespace'::Test::testTranslator
> C:/sources/libo-core/stoc/test/uriproc/test_uriproc.cxx:1381:`anonymous namespace'::Test::testTranslator
equality assertion failed
> - Expected: file:///abc/%FEef
> - Actual  : 
> - testTranslator, translateToExternal|7|file:///abc/%feef: TEST_ASSERT_EQUAL(OUString::createFromAscii(data[i].externalUriReference), translator->translateToExternal( OUString::createFromAscii(data[i].internalUriReference))): <file:///abc/%FEef> != <>

> `anonymous namespace'::Test::testTranslator finished in: 8ms
> [_RUN_____] `anonymous namespace'::Test::testPkgUrlFactory
> `anonymous namespace'::Test::testPkgUrlFactory finished in: 4ms
> C:/sources/libo-core/stoc/test/uriproc/test_uriproc.cxx(1381) : error : Assertion
Test name: `anonymous namespace'::Test::testTranslator
equality assertion failed
> - Expected: file:///abc/%FEef
> - Actual  : 
> - testTranslator, translateToExternal|7|file:///abc/%feef: TEST_ASSERT_EQUAL(OUString::createFromAscii(data[i].externalUriReference), translator->translateToExternal( OUString::createFromAscii(data[i].internalUriReference))): <file:///abc/%FEef> != <>

> Failures !!!
> Run: 7   Failure total: 1   Failures: 1   Errors: 0
> 
> Error: a unit test failed, please do one of:
> make CppunitTest_stoc_uriproc CPPUNITTRACE=TRUE # which is a shortcut for the following line
> make CppunitTest_stoc_uriproc CPPUNITTRACE="'C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/devenv.exe' /debugexe" # for interactive debugging in Visual Studio
> make CppunitTest_stoc_uriproc CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)

> You can limit the execution to just one particular test by:

> make CppunitTest_stoc_uriproc CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...


Any idea how to fix this?

autogen.input:
--host=x86_64-pc-cygwin
--enable-dbgutil
--disable-dependency-tracking
--enable-odk
--disable-online-update
--with-visual-studio=2022
--with-jdk-home=/cygdrive/c/Program Files/Java/jdk-17
--with-ant-home=/cygdrive/c/sources/apache-ant-1.10.14
--with-junit=/cygdrive/c/sources/junit-4.13.2.jar
--with-hamcrest=/cygdrive/c/sources/hamcrest-2.2.jar
--enable-python=internal

OS: Windows 11 22H2
VS: 2022 v17.7.6

Regards,
taichi




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux