Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/UsageTests/ToStringByte.tests.cpp
diff options
context:
space:
mode:
authorJustin Bassett2019-06-06 20:10:34 -0700
committerMartin Hořeňovský2019-06-17 19:17:32 +0200
commit80af9ca6870c14b049ff9bff233c9b5a87ac19bb (patch)
tree8a0281b90ee0f62e377b27b7b9cb659af4d79b7f /projects/SelfTest/UsageTests/ToStringByte.tests.cpp
parent33286fdc37f52a5fbc1bdf38545137005b377703 (diff)
downloadcatch3-80af9ca6870c14b049ff9bff233c9b5a87ac19bb.tar.gz
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.
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringByte.tests.cpp')
0 files changed, 0 insertions, 0 deletions