JsonCpp failed to run "jsoncpp_readerwriter" and "jsoncpp_readerwriter_json_checker" tests on release and debug configuration with MSVC on windows x86 and x64
Hi All,
The MSVC team recently test JsonCpp project and found JsonCpp failed to run "jsoncpp_readerwriter" and "jsoncpp_readerwriter_json_checker" tests on release and debug configuration on Windows_x86 and windows_x64. Below are details of our issue:
Describe the bug JsonCpp failed to run "jsoncpp_readerwriter" and "jsoncpp_readerwriter_json_checker" tests on release and debug configuration with MSVC on windows x86 and x64. Could you please help look at this issue or provide some workarounds? Thanks in advance.
Expected behavior For JsonCpp x86 and x64, "jsoncpp_readerwriter" and "jsoncpp_readerwriter_json_checker" tests should be run pass on the windows.
To Reproduce on Windows_x64
- git clone https://github.com/open-source-parsers/jsoncpp open-source-parsers\jsoncpp F:\gitP\open-source-parsers\jsoncpp
- mkdir cd F:\gitP\open-source-parsers\jsoncpp\build_amd64
- cd cd F:\gitP\open-source-parsers\jsoncpp\build_amd64
- cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF .. 2>&1
- msbuild /m /p:Platform=x64 /p:Configuration=Release ALL_BUILD.vcxproj /t:Rebuild 2>&1
- ctest -C Release --output-on-failure 2>&1
Setup VS 2019 + Windows Server 2019
Additional context test logs test.log test.log.2.out test.log.2.txt