Skip to content

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

@QuellaZhang

Description

@QuellaZhang

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions