boost-ext/di

Errors while running CTest on Ubuntu with clang++ v12

ClausKlein opened this issue · 0 comments

Expected Behavior

No Warning and all test passed

Actual Behavior

:~/Workspace/cpp/boost-ext/di/build$ ctest --rerun-failed --output-on-failure
Test project ~/Workspace/cpp/boost-ext/di/build
    Start 10: test.policies_serialize
1/2 Test #10: test.policies_serialize ..........Subprocess aborted***Exception:   0.01 sec
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create

    Start 64: test.ft_di_injector
2/2 Test #64: test.ft_di_injector ..............***Failed    0.01 sec
~/Workspace/cpp/boost-ext/di/test/ft/di_injector.cpp:343:42 == object->i


0% tests passed, 2 tests failed out of 2

Total Test time (real) =   0.03 sec

The following tests FAILED:
         10 - test.policies_serialize (Subprocess aborted)
         64 - test.ft_di_injector (Failed)
Errors while running CTest
~/Workspace/cpp/boost-ext/di/build$

Steps to Reproduce the Problem

  1. CXX=clang++ cmake -G Ninja -B build
  2. cd build
  3. ninja
  4. ctest

Specifications

  • Version: v1.2.0
  • Platform: Ubuntu
  • Subsystem: clang version 12.0.0-3ubuntu1~20.04.4