Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while running CTest on Ubuntu with clang++ v12 #537

Open
ClausKlein opened this issue Mar 15, 2022 · 0 comments
Open

Errors while running CTest on Ubuntu with clang++ v12 #537

ClausKlein opened this issue Mar 15, 2022 · 0 comments

Comments

@ClausKlein
Copy link

ClausKlein commented Mar 15, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant