catch_discover_tests() - cmake's ctest cannot find tests with commas #1327
Labels
Extras
Touches utility scripts outside of Catch2 proper, e.g. CMake integration.
Help wanted
Issue outside of the maintainers expertise
Description
I want to use
catch_discover_tests()
to automatically register test forctest
. For some of the test cases no test were detected. All of them contained a comma (",") and after removing them the tests are detected correctly.Steps to reproduce
Create a
TEST_CASE
with a "," in it:Create CMakeLists.txt:
Compile and run
ctest
:Produces output:
Expected output:
I created a small repository with this example setup. Repo
Extra information
The text was updated successfully, but these errors were encountered: