catch2/contrib
Justin Bassett 80af9ca687 Rollback ctest labels in CatchAddTests.cmake
Parsing --list-tests is broken, as Catch automatically line wraps the
line when it gets too long, stripping any whitespace in the process.
This means that it's impossible to reproduce the exact name of the
test if the test's name is long enough to line-wrap.

Furthermore, overwriting the LABELS property with the discovered labels
breaks users who manually added custom ctest labels.

Rolling back to using --list-test-names-only for now, as it does not
wrap lines even on very long test names.

We may be able parse the output of --list-tags to produce the ctest labels.
However, the straightforward way of doing this is to use CMake's
get_property(TEST ...) and set_property(TEST ... APPEND ...), which don't
work if the test name has spaces or other special characters. We would
need to mangle the test name to a valid CMake identifier to do it that way.
2019-06-17 19:17:32 +02:00
..
Catch.cmake Catch `catch_discover_tests` 2018-01-11 21:17:12 +01:00
CatchAddTests.cmake Rollback ctest labels in CatchAddTests.cmake 2019-06-17 19:17:32 +02:00
gdbinit Add gdbinit and lldbinit files with commands to skip stepping into Catch code during debugging 2018-05-09 17:46:31 +02:00
lldbinit Add gdbinit and lldbinit files with commands to skip stepping into Catch code during debugging 2018-05-09 17:46:31 +02:00
ParseAndAddCatchTests.cmake ParseAndAddCatchTests: Ignore cmake object libraries 2019-04-14 19:10:15 +02:00