leapmotion / autowiring

A C++ Inversion of Control Framework
http://autowiring.io/
Apache License 2.0
149 stars 17 forks source link

[std:c++latest] 15 tests hang when running AutowiringTest.exe on MSVC #1070

Open QuellaZhang opened 3 years ago

QuellaZhang commented 3 years ago

After building autowiring with /std;c++latest, 15 tests hang when running AutowiringTest.exe on MSVC. Could someone help look?

  1. git clone https://github.com/leapmotion/autowiring autowiring
  2. pushd autowiring
  3. mkdir build_amd64_Release && cd build_amd64_Release
  4. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DCMAKE_BUILD_TYPE=Release .. 2>&1
  5. set CL=-std:c++latest
  6. msbuild /m /p:Platform=x64 /p:Configuration=Release Autowiring.sln /t:Rebuild > build.log
  7. .\bin\Release\AutowiringTest.exe

error: F:\gitP\leapmotion\autowiring\build_amd64_Release>.\bin\Release\AutowiringTest.exe [==========] Running 470 tests from 67 test cases. [----------] Global test environment set-up. [----------] 16 tests from AnySharedPointerTest [ RUN ] AnySharedPointerTest.CanReinterpretCastSharedPtr [ OK ] AnySharedPointerTest.CanReinterpretCastSharedPtr (0 ms) [ RUN ] AnySharedPointerTest.OperatorEq [ OK ] AnySharedPointerTest.OperatorEq (0 ms) [ RUN ] AnySharedPointerTest.AnySharedPointerRelease [ OK ] AnySharedPointerTest.AnySharedPointerRelease (0 ms) [ RUN ] AnySharedPointerTest.SlotReassignment [ OK ] AnySharedPointerTest.SlotReassignment (0 ms) [ RUN ] AnySharedPointerTest.SlotsInVector [ OK ] AnySharedPointerTest.SlotsInVector (0 ms) [ RUN ] AnySharedPointerTest.SlotDuplication (hang)