Skip to content

catch_test_case_info.cpp: Assertion inTag failed #2650

Closed
@xvitaly

Description

Describe the bug
Catch2 fails when running spdlog tests in Debug configuration (check this PR gabime/spdlog#2661). Release configuration works without issues.

Catch2 is included via FetchContent.

Expected behavior
Successful tests run.

Reproduction steps

git clone https://github.com/xvitaly/spdlog.git
git checkout catchv3
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build
ctest

Platform information:

  • OS: Linux (tested on Ubuntu and Fedora)
  • Compiler+version: GCC 11, 12; Clang 10, 12
  • Catch version: v3.3.2

Additional context

spdlog-utests: src/catch2/catch_test_case_info.cpp:147: Catch::TestCaseInfo::TestCaseInfo(Catch::StringRef, const Catch::NameAndTags&, const Catch::SourceLineInfo&): Assertion `inTag' failed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions